You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.9 KiB
75 lines
1.9 KiB
5 years ago
|
{
|
||
|
"extends": "stylelint-config-recommended-scss",
|
||
|
"plugins": [
|
||
|
"stylelint-order",
|
||
|
"stylelint-scss"
|
||
|
],
|
||
|
"rules": {
|
||
|
"at-rule-empty-line-before": [
|
||
|
"always", {
|
||
|
"ignoreAtRules": [ "after-comment", "else" ]
|
||
|
}
|
||
|
],
|
||
|
"at-rule-name-space-after": [
|
||
|
"always", {
|
||
|
"ignoreAtRules": [ "after-comment" ]
|
||
|
}
|
||
|
],
|
||
|
"block-closing-brace-newline-after": [
|
||
|
"always", {
|
||
|
"ignoreAtRules": [ "if", "else" ]
|
||
|
}
|
||
|
],
|
||
|
"block-closing-brace-newline-before": "always-multi-line",
|
||
|
"block-opening-brace-newline-after": "always-multi-line",
|
||
|
"block-opening-brace-space-before": "always",
|
||
|
"color-hex-case": "lower",
|
||
|
"color-hex-length": "short",
|
||
|
"color-no-invalid-hex": true,
|
||
|
"declaration-colon-space-after": "always",
|
||
|
"declaration-colon-space-before": "never",
|
||
|
"indentation": "tab",
|
||
|
"no-descending-specificity": null,
|
||
|
"no-eol-whitespace": true,
|
||
|
"property-no-vendor-prefix": true,
|
||
|
"rule-empty-line-before": [
|
||
|
"always",
|
||
|
"except": [
|
||
|
"after-single-line-comment",
|
||
|
"first-nested"
|
||
|
]
|
||
|
],
|
||
|
"order/properties-order": [
|
||
|
"margin",
|
||
|
"padding",
|
||
|
"background",
|
||
|
"display",
|
||
|
"float",
|
||
|
"max-width",
|
||
|
"width",
|
||
|
"max-height",
|
||
|
"height",
|
||
|
"color",
|
||
|
"font",
|
||
|
"font-family",
|
||
|
"font-size",
|
||
|
"border",
|
||
|
"border-top",
|
||
|
"border-top-color",
|
||
|
"border-right",
|
||
|
"border-right-color",
|
||
|
"border-bottom",
|
||
|
"border-bottom-color",
|
||
|
"border-left",
|
||
|
"border-left-color",
|
||
|
"border-radius",
|
||
|
"box-shadow"
|
||
|
],
|
||
|
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
|
||
|
"scss/at-else-closing-brace-space-after": "always-intermediate",
|
||
|
"scss/at-else-empty-line-before": "never",
|
||
|
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
|
||
|
"scss/at-if-closing-brace-space-after": "always-intermediate"
|
||
|
}
|
||
|
}
|