|
@ -50,13 +50,111 @@ |
|
|
"stylelint-scss" |
|
|
"stylelint-scss" |
|
|
], |
|
|
], |
|
|
"rules": { |
|
|
"rules": { |
|
|
|
|
|
"at-rule-empty-line-before": [ |
|
|
|
|
|
"always", { |
|
|
|
|
|
"except": ["blockless-after-same-name-blockless", "first-nested"], |
|
|
|
|
|
"ignore": ["after-comment"], |
|
|
|
|
|
"ignoreAtRules": ["else"] |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"at-rule-name-case": "lower", |
|
|
|
|
|
"at-rule-name-space-after": "always", |
|
|
|
|
|
"at-rule-semicolon-newline-after": "always", |
|
|
|
|
|
"at-rule-semicolon-space-before": "never", |
|
|
|
|
|
"block-closing-brace-empty-line-before": "never", |
|
|
"block-closing-brace-newline-after": [ |
|
|
"block-closing-brace-newline-after": [ |
|
|
"always", |
|
|
"always", |
|
|
{"ignoreAtRules": ["else", "if"]} |
|
|
{"ignoreAtRules": ["else", "if"]} |
|
|
], |
|
|
], |
|
|
|
|
|
"block-closing-brace-newline-before": "always", |
|
|
|
|
|
"block-no-empty": true, |
|
|
|
|
|
"block-opening-brace-newline-after": "always", |
|
|
|
|
|
"block-opening-brace-space-before": "always", |
|
|
|
|
|
"color-hex-case": "lower", |
|
|
|
|
|
"color-named": "never", |
|
|
|
|
|
"color-no-invalid-hex": true, |
|
|
|
|
|
"comment-empty-line-before": "always", |
|
|
|
|
|
"comment-no-empty": true, |
|
|
|
|
|
"comment-whitespace-inside": "always", |
|
|
|
|
|
"declaration-bang-space-after": "never", |
|
|
|
|
|
"declaration-bang-space-before": "always", |
|
|
|
|
|
"declaration-block-no-duplicate-properties": true, |
|
|
|
|
|
"declaration-block-no-shorthand-property-overrides": true, |
|
|
|
|
|
"declaration-block-semicolon-newline-after": "always", |
|
|
|
|
|
"declaration-block-semicolon-newline-before": "never-multi-line", |
|
|
|
|
|
"declaration-block-semicolon-space-before": "never", |
|
|
|
|
|
"declaration-block-trailing-semicolon": "always", |
|
|
|
|
|
"declaration-colon-newline-after": "always-multi-line", |
|
|
|
|
|
"declaration-colon-space-before": "never", |
|
|
|
|
|
"font-family-no-duplicate-names": true, |
|
|
|
|
|
"font-family-no-missing-generic-family-keyword": true, |
|
|
|
|
|
"font-weight-notation": "named-where-possible", |
|
|
|
|
|
"function-calc-no-unspaced-operator": true, |
|
|
|
|
|
"function-comma-newline-after": "always-multi-line", |
|
|
|
|
|
"function-comma-space-after": "always-single-line", |
|
|
|
|
|
"function-comma-space-before": "never", |
|
|
|
|
|
"function-max-empty-lines": 0, |
|
|
|
|
|
"function-name-case": "lower", |
|
|
|
|
|
"function-parentheses-newline-inside": "always-multi-line", |
|
|
|
|
|
"function-parentheses-space-inside": "never-single-line", |
|
|
|
|
|
"function-url-quotes": "always", |
|
|
|
|
|
"function-url-scheme-whitelist": "https", |
|
|
|
|
|
"function-whitespace-after": "always", |
|
|
"indentation": 2, |
|
|
"indentation": 2, |
|
|
"no-descending-specificity": null, |
|
|
|
|
|
|
|
|
"length-zero-no-unit": true, |
|
|
|
|
|
"linebreaks": "unix", |
|
|
|
|
|
"max-empty-lines": 1, |
|
|
|
|
|
"max-line-length": 88, |
|
|
|
|
|
"media-feature-colon-space-after": "always", |
|
|
|
|
|
"media-feature-colon-space-before": "never", |
|
|
|
|
|
"media-feature-name-case": "lower", |
|
|
|
|
|
"media-feature-name-no-unknown": true, |
|
|
|
|
|
"media-feature-parentheses-space-inside": "never", |
|
|
|
|
|
"media-feature-range-operator-space-after": "always", |
|
|
|
|
|
"media-feature-range-operator-space-before": "always", |
|
|
|
|
|
"no-duplicate-at-import-rules": true, |
|
|
|
|
|
"no-duplicate-selectors": true, |
|
|
|
|
|
"no-empty-first-line": true, |
|
|
|
|
|
"no-empty-source": true, |
|
|
|
|
|
"no-eol-whitespace": true, |
|
|
|
|
|
"no-extra-semicolons": true, |
|
|
|
|
|
"no-invalid-double-slash-comments": true, |
|
|
|
|
|
"no-missing-end-of-source-newline": true, |
|
|
|
|
|
"number-leading-zero": "always", |
|
|
|
|
|
"number-no-trailing-zeros": true, |
|
|
|
|
|
"number-max-precision": 1, |
|
|
|
|
|
"property-case": "lower", |
|
|
|
|
|
"property-no-unknown": true, |
|
|
|
|
|
"rule-empty-line-before": [ |
|
|
|
|
|
"always", |
|
|
|
|
|
{"except": ["first-nested"], "ignore": ["after-comment"]} |
|
|
|
|
|
], |
|
|
|
|
|
"selector-attribute-brackets-space-inside": "never", |
|
|
|
|
|
"selector-attribute-operator-space-after": "never", |
|
|
|
|
|
"selector-attribute-operator-space-before": "never", |
|
|
|
|
|
"selector-attribute-quotes": "always", |
|
|
|
|
|
"selector-combinator-space-after": "always", |
|
|
|
|
|
"selector-combinator-space-before": "always", |
|
|
|
|
|
"selector-descendant-combinator-no-non-space": true, |
|
|
|
|
|
"selector-list-comma-newline-before": "never-multi-line", |
|
|
|
|
|
"selector-max-empty-lines": 0, |
|
|
|
|
|
"selector-pseudo-class-case": "lower", |
|
|
|
|
|
"selector-pseudo-class-no-unknown": true, |
|
|
|
|
|
"selector-pseudo-class-parentheses-space-inside": "never", |
|
|
|
|
|
"selector-pseudo-element-case": "lower", |
|
|
|
|
|
"selector-pseudo-element-colon-notation": "double", |
|
|
|
|
|
"selector-pseudo-element-no-unknown": true, |
|
|
|
|
|
"selector-type-case": "lower", |
|
|
|
|
|
"selector-type-no-unknown": true, |
|
|
|
|
|
"shorthand-property-no-redundant-values": true, |
|
|
|
|
|
"string-no-newline": true, |
|
|
"string-quotes": "double", |
|
|
"string-quotes": "double", |
|
|
|
|
|
"unit-case": "lower", |
|
|
|
|
|
"unit-no-unknown": true, |
|
|
|
|
|
"unit-whitelist": ["%", "fr", "px", "rem", "vh", "vw"], |
|
|
|
|
|
"value-keyword-case": "lower", |
|
|
|
|
|
"value-list-max-empty-lines": 0, |
|
|
|
|
|
"value-no-vendor-prefix": true, |
|
|
"scss/at-else-closing-brace-newline-after": "always-last-in-chain", |
|
|
"scss/at-else-closing-brace-newline-after": "always-last-in-chain", |
|
|
"scss/at-else-closing-brace-space-after": "always-intermediate", |
|
|
"scss/at-else-closing-brace-space-after": "always-intermediate", |
|
|
"scss/at-else-empty-line-before": "never", |
|
|
"scss/at-else-empty-line-before": "never", |
|
|