2020-01-24 11:59:37 +00:00
|
|
|
{
|
2023-02-16 03:06:44 +00:00
|
|
|
"plugins": ["stylelint-order"],
|
|
|
|
"customSyntax": "postcss-scss",
|
2020-01-24 11:59:37 +00:00
|
|
|
"rules": {
|
2023-02-16 03:06:44 +00:00
|
|
|
"at-rule-empty-line-before": [
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"except": ["after-same-name", "first-nested"],
|
|
|
|
"ignore": ["after-comment"]
|
|
|
|
}
|
|
|
|
],
|
2020-01-24 11:59:37 +00:00
|
|
|
"at-rule-no-vendor-prefix": true,
|
|
|
|
"selector-no-vendor-prefix": true,
|
|
|
|
"block-no-empty": true,
|
|
|
|
"color-hex-length": "short",
|
|
|
|
"color-no-invalid-hex": true,
|
2023-02-16 03:06:44 +00:00
|
|
|
"comment-empty-line-before": [
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"except": ["first-nested"],
|
|
|
|
"ignore": ["stylelint-commands"]
|
|
|
|
}
|
|
|
|
],
|
2020-01-24 11:59:37 +00:00
|
|
|
"comment-whitespace-inside": "always",
|
|
|
|
"declaration-block-no-shorthand-property-overrides": true,
|
|
|
|
"declaration-block-single-line-max-declarations": 1,
|
|
|
|
"declaration-no-important": true,
|
|
|
|
"font-family-name-quotes": "always-where-recommended",
|
|
|
|
"function-calc-no-unspaced-operator": true,
|
|
|
|
"function-linear-gradient-no-nonstandard-direction": true,
|
|
|
|
"function-url-quotes": "always",
|
|
|
|
"length-zero-no-unit": true,
|
2020-01-29 21:22:01 +00:00
|
|
|
"max-nesting-depth": 4,
|
2020-01-24 11:59:37 +00:00
|
|
|
"no-descending-specificity": null,
|
|
|
|
"no-invalid-double-slash-comments": true,
|
2022-11-15 22:31:44 +00:00
|
|
|
"number-max-precision": 3,
|
2023-02-16 03:06:44 +00:00
|
|
|
"order/order": ["custom-properties", "declarations"],
|
2020-01-24 11:59:37 +00:00
|
|
|
"order/properties-alphabetical-order": true,
|
2023-02-16 03:06:44 +00:00
|
|
|
"rule-empty-line-before": [
|
|
|
|
"always-multi-line",
|
|
|
|
{
|
|
|
|
"except": ["after-single-line-comment", "first-nested"],
|
|
|
|
"ignore": ["after-comment"]
|
|
|
|
}
|
|
|
|
],
|
2020-01-29 14:31:57 +00:00
|
|
|
"selector-max-id": 1,
|
|
|
|
"selector-max-type": 2,
|
|
|
|
"selector-class-pattern": "^(\\.*[A-Z]*[a-z]+)+(-[a-z0-9]+)*$",
|
2020-01-24 11:59:37 +00:00
|
|
|
"selector-max-universal": 0,
|
|
|
|
"selector-type-case": "lower",
|
|
|
|
"selector-pseudo-element-colon-notation": "double",
|
|
|
|
"string-no-newline": true,
|
2023-02-16 22:42:44 +00:00
|
|
|
"time-min-milliseconds": 100
|
2023-02-16 03:06:44 +00:00
|
|
|
}
|
2020-01-24 11:59:37 +00:00
|
|
|
}
|