2016-11-02 19:34:08 +02:00
|
|
|
{
|
2016-12-06 13:50:24 +02:00
|
|
|
"syntax": "scss",
|
2016-11-02 19:34:08 +02:00
|
|
|
"extends": "stylelint-config-standard",
|
2016-12-06 13:50:24 +02:00
|
|
|
"processors": [
|
|
|
|
"stylelint-processor-styled-components"
|
|
|
|
],
|
2016-11-02 19:34:08 +02:00
|
|
|
"rules": {
|
|
|
|
"color-hex-case": "upper",
|
|
|
|
"color-hex-length": "long",
|
|
|
|
"font-family-name-quotes": "always-where-recommended",
|
|
|
|
"string-quotes": "double",
|
|
|
|
"value-list-comma-space-after": "always",
|
|
|
|
"custom-property-no-outside-root": true,
|
|
|
|
"property-no-unknown": [true, {
|
|
|
|
"ignoreProperties": [
|
|
|
|
"",
|
|
|
|
"composes"
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
"declaration-colon-space-after": "always",
|
|
|
|
"declaration-no-important": true,
|
|
|
|
"declaration-block-no-duplicate-properties": true,
|
|
|
|
"declaration-block-properties-order": "alphabetical",
|
|
|
|
"declaration-block-semicolon-newline-after": "always",
|
|
|
|
"block-closing-brace-newline-after": "always-single-line",
|
|
|
|
"block-closing-brace-newline-before": "always",
|
|
|
|
"block-no-single-line": true,
|
|
|
|
"block-opening-brace-newline-after": "always",
|
|
|
|
"selector-attribute-quotes": "always",
|
|
|
|
"selector-max-compound-selectors": 3,
|
|
|
|
"selector-no-attribute": true,
|
|
|
|
"selector-no-id": true,
|
|
|
|
"selector-no-universal": true,
|
|
|
|
"selector-pseudo-class-parentheses-space-inside": "always",
|
|
|
|
"selector-list-comma-newline-before": "never-multi-line",
|
|
|
|
"selector-list-comma-space-before": "always-single-line",
|
|
|
|
"media-feature-parentheses-space-inside": "always",
|
|
|
|
"at-rule-name-space-after": "always",
|
|
|
|
"at-rule-no-unknown": [true, {
|
|
|
|
"ignoreAtRules": [
|
|
|
|
"/mixin|for/",
|
|
|
|
""
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
"max-nesting-depth": 3,
|
|
|
|
"no-descending-specificity": true,
|
|
|
|
"no-duplicate-selectors": true,
|
|
|
|
"no-unknown-animations": true,
|
|
|
|
"custom-property-empty-line-before": null,
|
|
|
|
"selector-pseudo-class-no-unknown": [true, {
|
|
|
|
"ignorePseudoClasses": ["global", "$"]
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|