diff --git a/.stylelintrc b/.stylelintrc index 34582a653a..322ae7d5e9 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -13,48 +13,48 @@ "scss/at-import-no-partial-extension": true, "scss/at-import-no-partial-leading-underscore": true, "scss/at-extend-no-missing-placeholder": true, - "selector-max-compound-selectors": 4, "declaration-bang-space-after": "never", "declaration-bang-space-before": "always", + "declaration-block-no-duplicate-properties": true, + "declaration-no-important": true, "color-named": "never", "color-no-invalid-hex": true, "color-hex-length": "short", "color-hex-case": "lower", - "declaration-block-no-duplicate-properties": true, - "declaration-no-important": true, - "rule-nested-empty-line-before": ["always-multi-line", { - "ignore": ["after-comment"], - "except": ["first-nested"] - } ], "block-no-empty": true, + "block-opening-brace-space-before": "always", + "block-opening-brace-newline-after": "always-multi-line", + "block-opening-brace-space-after": "always-single-line", "no-missing-eof-newline": true, - "selector-no-id": true, - "number-leading-zero": "never", - "indentation": [2, { - "ignore": ["value"] - } ], "no-duplicate-selectors": true, - "max-nesting-depth": 4, + "no-eol-whitespace": true, + "selector-max-compound-selectors": 4, "selector-pseudo-element-colon-notation": "double", + "selector-list-comma-newline-after": "always-multi-line", + "selector-no-id": true, "selector-no-qualifying-type": [ true, { "ignore": [ "attribute" ] } ], "selector-class-pattern": "[_a-z0-9]+", - "shorthand-property-no-redundant-values": true, "declaration-block-semicolon-newline-after": "always-multi-line", - "selector-list-comma-newline-after": "always-multi-line", - "function-comma-space-after": "never-single-line", "declaration-colon-space-after": "always-single-line", "declaration-colon-space-before": "never", - "block-opening-brace-space-before": "always", - "function-parentheses-space-inside": "never", - "string-quotes": "single", "declaration-block-trailing-semicolon": "always", - "no-eol-whitespace": true, - "number-no-trailing-zeros": true, + "function-comma-space-after": "never-single-line", + "function-parentheses-space-inside": "never", "function-url-quotes": "single", + "number-leading-zero": "never", + "number-no-trailing-zeros": true, "number-zero-length-no-unit": true, - "block-opening-brace-newline-after": "always-multi-line", - "block-opening-brace-space-after": "always-single-line" + "rule-nested-empty-line-before": ["always-multi-line", { + "ignore": ["after-comment"], + "except": ["first-nested"] + } ], + "indentation": [2, { + "ignore": ["value"] + } ], + "max-nesting-depth": 4, + "shorthand-property-no-redundant-values": true, + "string-quotes": "single" } }