X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2F.stylelintrc.json;h=87d15295345632c5b09285e6e346cb3d5fbc9e71;hb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2;hp=832748d391a2aedea5c9d74088d0819888acea3a;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/.stylelintrc.json b/web/core/.stylelintrc.json index 832748d39..87d152953 100644 --- a/web/core/.stylelintrc.json +++ b/web/core/.stylelintrc.json @@ -4,25 +4,19 @@ "stylelint-no-browser-hacks/lib" ], "rules": { - "at-rule-empty-line-before": null, - "block-no-empty": null, - "color-hex-case": null, - "color-hex-length": null, "comment-empty-line-before": null, - "declaration-block-no-duplicate-properties": null, - "declaration-block-no-redundant-longhand-properties": null, - "declaration-block-no-shorthand-property-overrides": null, - "declaration-block-trailing-semicolon": null, - "declaration-colon-space-after": null, - "function-comma-space-after": null, "function-linear-gradient-no-nonstandard-direction": null, - "function-name-case": null, "function-whitespace-after": null, - "length-zero-no-unit": null, - "no-empty-source": null, + "no-descending-specificity": null, + "no-duplicate-selectors": null, "no-unknown-animations": true, - "number-leading-zero": null, - "number-no-trailing-zeros": null, + "media-feature-name-no-unknown": [true, { + "ignoreMediaFeatureNames": [ + "prefers-reduced-motion", + "min--moz-device-pixel-ratio" + ] + }], + "number-leading-zero": "always", "plugin/no-browser-hacks": [true, { "browsers": [ "ie >= 9", @@ -36,9 +30,8 @@ "property-no-unknown": null, "rule-empty-line-before": null, "selector-pseudo-element-colon-notation": null, - "selector-type-no-unknown": null, "shorthand-property-no-redundant-values": null, - "unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px"] + "unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px", "vw", "vh"] }, "ignoreFiles": [ "assets/vendor/**/*.css",