stash/ui/v2.5/.stylelintrc

56 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-01-24 11:59:37 +00:00
{
"plugins": ["stylelint-order"],
"customSyntax": "postcss-scss",
2020-01-24 11:59:37 +00:00
"rules": {
"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,
"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,
"max-nesting-depth": 4,
2020-01-24 11:59:37 +00:00
"no-descending-specificity": null,
"no-invalid-double-slash-comments": true,
"number-max-precision": 3,
"order/order": ["custom-properties", "declarations"],
2020-01-24 11:59:37 +00:00
"order/properties-alphabetical-order": true,
"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,
"time-min-milliseconds": 100
}
2020-01-24 11:59:37 +00:00
}