2019-06-27 14:36:37 +08:00
|
|
|
extends: stylelint-config-standard
|
|
|
|
|
2022-11-23 08:22:27 +08:00
|
|
|
plugins:
|
|
|
|
- stylelint-declaration-strict-value
|
|
|
|
|
2021-11-11 09:52:16 +08:00
|
|
|
overrides:
|
|
|
|
- files: ["**/*.less"]
|
|
|
|
customSyntax: postcss-less
|
2022-11-23 08:22:27 +08:00
|
|
|
- files: ["**/*.less"]
|
|
|
|
rules:
|
|
|
|
scale-unlimited/declaration-strict-value: [color, {
|
|
|
|
ignoreValues: /^(inherit|transparent|unset|initial)$/
|
|
|
|
}]
|
|
|
|
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console/*"]
|
|
|
|
rules:
|
|
|
|
scale-unlimited/declaration-strict-value: null
|
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
|
2020-02-08 01:09:30 +08:00
|
|
|
at-rule-empty-line-before: null
|
2019-06-27 14:36:37 +08:00
|
|
|
block-closing-brace-empty-line-before: null
|
2021-11-11 09:52:16 +08:00
|
|
|
color-function-notation: null
|
2019-06-27 14:36:37 +08:00
|
|
|
color-hex-length: null
|
|
|
|
comment-empty-line-before: null
|
2021-11-11 09:52:16 +08:00
|
|
|
declaration-block-no-redundant-longhand-properties: 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
|
2022-02-26 04:08:35 +08:00
|
|
|
function-no-unknown: null
|
2021-11-11 09:52:16 +08:00
|
|
|
hue-degree-notation: null
|
2022-10-28 21:40:50 +08:00
|
|
|
import-notation: string
|
2020-08-26 03:48:53 +08:00
|
|
|
indentation: 2
|
2021-11-11 09:52:16 +08:00
|
|
|
max-line-length: null
|
2019-06-27 14:36:37 +08:00
|
|
|
no-descending-specificity: null
|
2021-11-11 09:52:16 +08:00
|
|
|
no-invalid-position-at-import-rule: null
|
2020-02-24 00:48:27 +08:00
|
|
|
number-leading-zero: never
|
2021-11-11 09:52:16 +08:00
|
|
|
number-max-precision: null
|
|
|
|
property-no-vendor-prefix: null
|
2019-06-27 14:36:37 +08:00
|
|
|
rule-empty-line-before: null
|
2021-11-11 09:52:16 +08:00
|
|
|
selector-class-pattern: null
|
|
|
|
selector-id-pattern: null
|
2020-11-11 02:28:07 +08:00
|
|
|
selector-pseudo-element-colon-notation: double
|
2020-05-20 12:06:04 +08:00
|
|
|
shorthand-property-no-redundant-values: true
|
2021-11-11 09:52:16 +08:00
|
|
|
string-quotes: null
|
|
|
|
value-no-vendor-prefix: null
|