-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylelint.config.js
29 lines (29 loc) · 993 Bytes
/
stylelint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
extends: "stylelint-config-recommended",
plugins: [
"stylelint-declaration-use-variable",
"stylelint-order"
],
rules: {
"sh-waqar/declaration-use-variable": [ [ "/color/", { ignoreValues: ["transparent", "inherit"] } ] ],
"order/properties-alphabetical-order": true,
"indentation": "tab",
"selector-class-pattern": null,
"no-eol-whitespace": null,
"string-quotes": "double",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-named": "never",
"selector-combinator-space-after": "always",
"selector-attribute-quotes": "always",
"selector-attribute-brackets-space-inside": "never",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always",
"function-url-quotes": "always",
"comment-whitespace-inside": "always",
"comment-empty-line-before": "always",
"rule-empty-line-before": "always",
"media-feature-colon-space-after": "always"
},
};