-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.stylelintrc
51 lines (51 loc) · 1.16 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard",
"stylelint-8-point-grid"
],
"rules": {
"length-zero-no-unit": true,
"max-empty-lines": 1,
"number-leading-zero": "never",
"indentation": 2,
"function-comma-space-after": "always",
"declaration-empty-line-before": null,
"color-hex-case": null,
"no-descending-specificity": null,
"at-rule-no-unknown": null,
"function-calc-no-invalid": true,
"property-no-unknown": [
true,
ignoreProperties: [
"resize-mode",
"shadow-color",
"shadow-offset",
"shadow-radius",
"shadow-opacity"
]
],
"plugin/8-point-grid": {
"base": 4,
"whitelist": ["-7px", "-6px", "-2px", "-1px", "0px", "1px", "2px", "6px", "10px", "14px", "22px"],
"ignore": [
"width",
"height",
"max-height",
"min-height",
"max-width",
"min-width",
"top",
"right",
"left"
]
},
"rule-empty-line-before": [
"always-multi-line",
except: [
"first-nested",
"after-single-line-comment"
]
],
}
}