X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2F.stylelintrc.json;fp=web%2Fcore%2F.stylelintrc.json;h=832748d391a2aedea5c9d74088d0819888acea3a;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/.stylelintrc.json b/web/core/.stylelintrc.json new file mode 100644 index 000000000..832748d39 --- /dev/null +++ b/web/core/.stylelintrc.json @@ -0,0 +1,47 @@ +{ + "extends": "stylelint-config-standard", + "plugins": [ + "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-unknown-animations": true, + "number-leading-zero": null, + "number-no-trailing-zeros": null, + "plugin/no-browser-hacks": [true, { + "browsers": [ + "ie >= 9", + "edge >= 13", + "firefox >= 5", + "opera >= 12", + "safari >= 5", + "chrome >= 56" + ] + }], + "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"] + }, + "ignoreFiles": [ + "assets/vendor/**/*.css", + "tests/Drupal/Tests/Core/Asset/css_test_files/**/*.css" + ] +}