-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstylelintrc
30 lines (28 loc) · 965 Bytes
/
stylelintrc
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
30
{
"rules": {
"color-hex-case": "lower",
"color-hex-length": "long",
"color-named": "never",
"font-weight-notation": "numeric",
"block-no-empty": null,
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"block-opening-brace-newline-after": "always",
"block-opening-brace-space-before": "always",
"color-no-invalid-hex": true,
"declaration-colon-space-after": "always",
"declaration-block-semicolon-newline-after": "always",
"indentation": [4, {
"except": ["value"]
}],
"max-empty-lines": 2,
"unit-whitelist": ["rem", "em", "%", "px", "s", "deg", "dpi", "vh"],
"max-nesting-depth": 6,
"no-extra-semicolons": true,
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"declaration-block-no-duplicate-properties": [true, {
"ignore": ["consecutive-duplicates"]
}]
}
}