diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-09-22 15:35:06 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-10-19 12:02:11 +0300 |
commit | 024be2a0209ebda32f8b943fd6fb0d92129f438f (patch) | |
tree | 651743b1099fdcfa55926c9a915b9d19fe63b37a | |
parent | 3d4b65aba3131c43bb4e457371ff76cad48140e9 (diff) |
Update .stylelint config from v4.
-rw-r--r-- | grunt/.stylelintrc | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/grunt/.stylelintrc b/grunt/.stylelintrc index 8b1d444296..20f265f703 100644 --- a/grunt/.stylelintrc +++ b/grunt/.stylelintrc @@ -1,12 +1,12 @@ { - "extends": ["stylelint-config-standard"], + "extends": [ + "stylelint-config-standard" + ], "plugins": [ "stylelint-order" ], "rules": { - "at-rule-empty-line-before": [null, - "except": ["first-nested"] - ], + "at-rule-empty-line-before": null, "at-rule-name-space-after": "always", "at-rule-no-vendor-prefix": true, "at-rule-semicolon-space-before": "never", @@ -20,12 +20,27 @@ "declaration-empty-line-before": null, "declaration-no-important": true, "font-family-name-quotes": "always-where-recommended", - "font-weight-notation": "numeric", + "font-weight-notation": [ + "numeric", + { + "ignore": [ + "relative" + ] + } + ], "function-url-no-scheme-relative": true, "function-url-quotes": "always", "length-zero-no-unit": true, "max-empty-lines": 2, "max-line-length": null, + "media-feature-name-no-unknown": [ + true, + { + "ignoreMediaFeatureNames": [ + "prefers-reduced-motion" + ] + } + ], "media-feature-name-no-vendor-prefix": true, "media-feature-parentheses-space-inside": "never", "media-feature-range-operator-space-after": "always", @@ -263,6 +278,7 @@ "selector-max-universal": 1, "selector-no-qualifying-type": true, "selector-no-vendor-prefix": true, + "shorthand-property-no-redundant-values": true, "string-quotes": "double", "value-keyword-case": "lower", "value-list-comma-newline-after": "never-multi-line", |