2022-11-23 08:22:27 +08:00
|
|
|
plugins:
|
|
|
|
- stylelint-declaration-strict-value
|
|
|
|
|
2023-03-10 11:16:16 +08:00
|
|
|
ignoreFiles:
|
|
|
|
- "**/*.go"
|
|
|
|
|
2021-11-11 09:52:16 +08:00
|
|
|
overrides:
|
2023-05-24 09:48:51 +08:00
|
|
|
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console.css", "font_i18n.css"]
|
2022-11-23 08:22:27 +08:00
|
|
|
rules:
|
|
|
|
scale-unlimited/declaration-strict-value: null
|
2023-03-10 11:16:16 +08:00
|
|
|
- files: ["**/chroma/*", "**/codemirror/*"]
|
|
|
|
rules:
|
|
|
|
block-no-empty: null
|
2023-05-23 21:54:21 +08:00
|
|
|
- files: ["**/*.vue"]
|
|
|
|
customSyntax: postcss-html
|
2021-11-11 09:52:16 +08:00
|
|
|
|
2019-06-27 14:36:37 +08:00
|
|
|
rules:
|
2021-11-11 09:52:16 +08:00
|
|
|
alpha-value-notation: null
|
2023-02-21 23:23:45 +08:00
|
|
|
annotation-no-unknown: true
|
|
|
|
at-rule-allowed-list: null
|
|
|
|
at-rule-disallowed-list: null
|
2020-02-08 01:09:30 +08:00
|
|
|
at-rule-empty-line-before: null
|
2023-02-21 23:23:45 +08:00
|
|
|
at-rule-no-unknown: true
|
|
|
|
at-rule-no-vendor-prefix: true
|
|
|
|
at-rule-property-required-list: null
|
|
|
|
block-no-empty: true
|
2021-11-11 09:52:16 +08:00
|
|
|
color-function-notation: null
|
2023-02-21 23:23:45 +08:00
|
|
|
color-hex-alpha: null
|
2019-06-27 14:36:37 +08:00
|
|
|
color-hex-length: null
|
2023-02-21 23:23:45 +08:00
|
|
|
color-named: null
|
|
|
|
color-no-hex: null
|
|
|
|
color-no-invalid-hex: true
|
2019-06-27 14:36:37 +08:00
|
|
|
comment-empty-line-before: null
|
2023-02-21 23:23:45 +08:00
|
|
|
comment-no-empty: true
|
|
|
|
comment-pattern: null
|
|
|
|
comment-whitespace-inside: null
|
|
|
|
comment-word-disallowed-list: null
|
|
|
|
custom-media-pattern: null
|
|
|
|
custom-property-empty-line-before: null
|
|
|
|
custom-property-no-missing-var-function: true
|
|
|
|
custom-property-pattern: null
|
|
|
|
declaration-block-no-duplicate-custom-properties: true
|
|
|
|
declaration-block-no-duplicate-properties: [true, {ignore: [consecutive-duplicates-with-different-values]}]
|
2021-11-11 09:52:16 +08:00
|
|
|
declaration-block-no-redundant-longhand-properties: null
|
2023-02-21 23:23:45 +08:00
|
|
|
declaration-block-no-shorthand-property-overrides: null
|
2020-09-09 01:17:56 +08:00
|
|
|
declaration-block-single-line-max-declarations: null
|
2019-06-27 14:36:37 +08:00
|
|
|
declaration-empty-line-before: null
|
2023-02-21 23:23:45 +08:00
|
|
|
declaration-no-important: null
|
|
|
|
declaration-property-max-values: null
|
|
|
|
declaration-property-unit-allowed-list: null
|
|
|
|
declaration-property-unit-disallowed-list: null
|
|
|
|
declaration-property-value-allowed-list: null
|
|
|
|
declaration-property-value-disallowed-list: null
|
|
|
|
declaration-property-value-no-unknown: true
|
|
|
|
font-family-name-quotes: always-where-recommended
|
|
|
|
font-family-no-duplicate-names: true
|
|
|
|
font-family-no-missing-generic-family-keyword: true
|
|
|
|
font-weight-notation: null
|
|
|
|
function-allowed-list: null
|
|
|
|
function-calc-no-unspaced-operator: true
|
|
|
|
function-disallowed-list: null
|
|
|
|
function-linear-gradient-no-nonstandard-direction: true
|
|
|
|
function-name-case: lower
|
2022-02-26 04:08:35 +08:00
|
|
|
function-no-unknown: null
|
2023-02-21 23:23:45 +08:00
|
|
|
function-url-no-scheme-relative: null
|
|
|
|
function-url-quotes: always
|
|
|
|
function-url-scheme-allowed-list: null
|
|
|
|
function-url-scheme-disallowed-list: null
|
2021-11-11 09:52:16 +08:00
|
|
|
hue-degree-notation: null
|
2022-10-28 21:40:50 +08:00
|
|
|
import-notation: string
|
2023-02-21 23:23:45 +08:00
|
|
|
keyframe-block-no-duplicate-selectors: true
|
|
|
|
keyframe-declaration-no-important: true
|
|
|
|
keyframe-selector-notation: null
|
|
|
|
keyframes-name-pattern: null
|
|
|
|
length-zero-no-unit: true
|
|
|
|
max-nesting-depth: null
|
|
|
|
media-feature-name-allowed-list: null
|
|
|
|
media-feature-name-disallowed-list: null
|
|
|
|
media-feature-name-no-unknown: true
|
|
|
|
media-feature-name-no-vendor-prefix: true
|
|
|
|
media-feature-name-unit-allowed-list: null
|
|
|
|
media-feature-name-value-allowed-list: null
|
|
|
|
media-feature-range-notation: null
|
|
|
|
named-grid-areas-no-invalid: true
|
2019-06-27 14:36:37 +08:00
|
|
|
no-descending-specificity: null
|
2023-02-21 23:23:45 +08:00
|
|
|
no-duplicate-at-import-rules: true
|
|
|
|
no-duplicate-selectors: true
|
|
|
|
no-empty-source: true
|
|
|
|
no-invalid-double-slash-comments: true
|
2021-11-11 09:52:16 +08:00
|
|
|
no-invalid-position-at-import-rule: null
|
2023-02-21 23:23:45 +08:00
|
|
|
no-irregular-whitespace: true
|
|
|
|
no-unknown-animations: null
|
2023-04-03 07:47:14 +08:00
|
|
|
no-unknown-custom-properties: null
|
2021-11-11 09:52:16 +08:00
|
|
|
number-max-precision: null
|
2023-02-21 23:23:45 +08:00
|
|
|
property-allowed-list: null
|
|
|
|
property-disallowed-list: null
|
|
|
|
property-no-unknown: true
|
2021-11-11 09:52:16 +08:00
|
|
|
property-no-vendor-prefix: null
|
2019-06-27 14:36:37 +08:00
|
|
|
rule-empty-line-before: null
|
2023-02-21 23:23:45 +08:00
|
|
|
rule-selector-property-disallowed-list: null
|
2023-05-23 21:54:21 +08:00
|
|
|
scale-unlimited/declaration-strict-value: [[color, background-color, border-color, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true}]
|
2023-02-21 23:23:45 +08:00
|
|
|
selector-attribute-name-disallowed-list: null
|
|
|
|
selector-attribute-operator-allowed-list: null
|
|
|
|
selector-attribute-operator-disallowed-list: null
|
|
|
|
selector-attribute-quotes: always
|
2021-11-11 09:52:16 +08:00
|
|
|
selector-class-pattern: null
|
2023-02-21 23:23:45 +08:00
|
|
|
selector-combinator-allowed-list: null
|
|
|
|
selector-combinator-disallowed-list: null
|
|
|
|
selector-disallowed-list: null
|
2021-11-11 09:52:16 +08:00
|
|
|
selector-id-pattern: null
|
2023-02-21 23:23:45 +08:00
|
|
|
selector-max-attribute: null
|
|
|
|
selector-max-class: null
|
|
|
|
selector-max-combinators: null
|
|
|
|
selector-max-compound-selectors: null
|
|
|
|
selector-max-id: null
|
|
|
|
selector-max-pseudo-class: null
|
|
|
|
selector-max-specificity: null
|
|
|
|
selector-max-type: null
|
|
|
|
selector-max-universal: null
|
|
|
|
selector-nested-pattern: null
|
|
|
|
selector-no-qualifying-type: null
|
|
|
|
selector-no-vendor-prefix: true
|
|
|
|
selector-not-notation: null
|
|
|
|
selector-pseudo-class-allowed-list: null
|
|
|
|
selector-pseudo-class-disallowed-list: null
|
|
|
|
selector-pseudo-class-no-unknown: true
|
|
|
|
selector-pseudo-element-allowed-list: null
|
2020-11-11 02:28:07 +08:00
|
|
|
selector-pseudo-element-colon-notation: double
|
2023-02-21 23:23:45 +08:00
|
|
|
selector-pseudo-element-disallowed-list: null
|
|
|
|
selector-pseudo-element-no-unknown: true
|
|
|
|
selector-type-case: lower
|
|
|
|
selector-type-no-unknown: [true, {ignore: [custom-elements]}]
|
2020-05-20 12:06:04 +08:00
|
|
|
shorthand-property-no-redundant-values: true
|
2023-02-21 23:23:45 +08:00
|
|
|
string-no-newline: true
|
|
|
|
time-min-milliseconds: null
|
|
|
|
unit-allowed-list: null
|
|
|
|
unit-disallowed-list: null
|
|
|
|
unit-no-unknown: true
|
|
|
|
value-keyword-case: null
|
|
|
|
value-no-vendor-prefix: [true, {ignoreValues: [box, inline-box]}]
|