2018-07-21 15:19:49 +02:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
# Stylistic rules for CSS.
|
2018-07-26 22:22:13 +02:00
|
|
|
"function-comma-space-after": "always",
|
|
|
|
"function-comma-space-before": "never",
|
|
|
|
"function-max-empty-lines": 0,
|
|
|
|
"function-whitespace-after": "always",
|
|
|
|
|
|
|
|
"value-keyword-case": "lower",
|
|
|
|
"value-list-comma-newline-after": "always-multi-line",
|
|
|
|
"value-list-comma-space-after": "always-single-line",
|
|
|
|
"value-list-comma-space-before": "never",
|
|
|
|
"value-list-max-empty-lines": 0,
|
|
|
|
|
|
|
|
"unit-case": "lower",
|
|
|
|
"property-case": "lower",
|
|
|
|
"color-hex-case": "lower",
|
|
|
|
|
|
|
|
"declaration-bang-space-before": "always",
|
|
|
|
"declaration-colon-newline-after": "always-multi-line",
|
2018-07-21 15:19:49 +02:00
|
|
|
"declaration-colon-space-after": "always-single-line",
|
|
|
|
"declaration-colon-space-before": "never",
|
|
|
|
"declaration-block-semicolon-newline-after": "always",
|
|
|
|
"declaration-block-semicolon-space-before": "never",
|
|
|
|
"declaration-block-trailing-semicolon": "always",
|
|
|
|
|
2018-07-26 22:22:13 +02:00
|
|
|
"block-closing-brace-empty-line-before": "never",
|
2018-07-21 15:19:49 +02:00
|
|
|
"block-closing-brace-newline-after": "always",
|
|
|
|
"block-closing-brace-newline-before": "always",
|
|
|
|
"block-opening-brace-newline-after": "always",
|
|
|
|
"block-opening-brace-space-before": "always",
|
|
|
|
|
2018-07-26 22:22:13 +02:00
|
|
|
"selector-attribute-brackets-space-inside": "never",
|
|
|
|
"selector-attribute-operator-space-after": "never",
|
|
|
|
"selector-attribute-operator-space-before": "never",
|
|
|
|
"selector-combinator-space-after": "always",
|
|
|
|
"selector-combinator-space-before": "always",
|
2018-07-21 15:19:49 +02:00
|
|
|
"selector-descendant-combinator-no-non-space": true,
|
2018-07-26 22:22:13 +02:00
|
|
|
"selector-pseudo-class-parentheses-space-inside": "never",
|
|
|
|
"selector-pseudo-element-case": "lower",
|
|
|
|
"selector-pseudo-element-colon-notation": "double",
|
|
|
|
"selector-type-case": "lower",
|
2018-07-21 15:19:49 +02:00
|
|
|
"selector-list-comma-newline-after": "always",
|
|
|
|
"selector-list-comma-space-before": "never",
|
|
|
|
|
2018-07-26 22:22:13 +02:00
|
|
|
"media-feature-colon-space-after": "always",
|
|
|
|
"media-feature-colon-space-before": "never",
|
|
|
|
"media-feature-name-case": "lower",
|
|
|
|
"media-feature-parentheses-space-inside": "never",
|
|
|
|
"media-feature-range-operator-space-after": "always",
|
|
|
|
"media-feature-range-operator-space-before": "always",
|
2018-07-21 15:19:49 +02:00
|
|
|
"media-query-list-comma-newline-after": "always",
|
|
|
|
"media-query-list-comma-space-before": "never",
|
|
|
|
|
2018-07-26 22:22:13 +02:00
|
|
|
"at-rule-name-case": "lower",
|
|
|
|
"at-rule-name-space-after": "always",
|
|
|
|
"at-rule-semicolon-newline-after": "always",
|
|
|
|
"at-rule-semicolon-space-before": "never",
|
|
|
|
|
2018-07-21 15:19:49 +02:00
|
|
|
"comment-whitespace-inside": "always",
|
|
|
|
"indentation": 4,
|
|
|
|
}
|
|
|
|
}
|