mirror of https://github.com/stashapp/stash.git
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
{
|
|
"plugins": ["stylelint-order"],
|
|
"customSyntax": "postcss-scss",
|
|
"rules": {
|
|
"at-rule-empty-line-before": [
|
|
"always",
|
|
{
|
|
"except": ["after-same-name", "first-nested"],
|
|
"ignore": ["after-comment"]
|
|
}
|
|
],
|
|
"at-rule-no-vendor-prefix": true,
|
|
"selector-no-vendor-prefix": true,
|
|
"block-no-empty": true,
|
|
"color-hex-length": "short",
|
|
"color-no-invalid-hex": true,
|
|
"comment-empty-line-before": [
|
|
"always",
|
|
{
|
|
"except": ["first-nested"],
|
|
"ignore": ["stylelint-commands"]
|
|
}
|
|
],
|
|
"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,
|
|
"max-nesting-depth": 4,
|
|
"no-descending-specificity": null,
|
|
"no-invalid-double-slash-comments": true,
|
|
"number-max-precision": 3,
|
|
"order/order": ["custom-properties", "declarations"],
|
|
"order/properties-alphabetical-order": true,
|
|
"rule-empty-line-before": [
|
|
"always-multi-line",
|
|
{
|
|
"except": ["after-single-line-comment", "first-nested"],
|
|
"ignore": ["after-comment"]
|
|
}
|
|
],
|
|
"selector-max-id": 1,
|
|
"selector-max-type": 2,
|
|
"selector-class-pattern": "^(\\.*[A-Z]*[a-z]+)+(-[a-z0-9]+)*$",
|
|
"selector-max-universal": 0,
|
|
"selector-type-case": "lower",
|
|
"selector-pseudo-element-colon-notation": "double",
|
|
"string-no-newline": true,
|
|
"time-min-milliseconds": 100
|
|
}
|
|
}
|