-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc
40 lines (39 loc) · 1.46 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
{
"extends": [
"stylelint-order",
"stylelint-config-rational-order/plugin"
],
"plugins": [
"stylelint-color-format",
"stylelint-config-rational-order/plugin",
"stylelint-no-unsupported-browser-features"
]
,
"rules": {
"color-format/format": {
"format": "hsl"
},
"number-no-trailing-zeros": true,
"block-no-empty": true,
"color-no-hex": true,
"color-named": "always-where-possible",
"color-hex-case": "lower",
"declaration-colon-space-after": "always",
"indentation": 2,
"max-empty-lines": 2,
"plugin/no-unsupported-browser-features": [true, {
"browsers": ["> 0.5% in us", "not dead"],
"ignore": ["rem"]
}],
"plugin/rational-order": [
true, {
"empty-line-between-groups": true
}],
"rule-empty-line-before": [ "always", {
"except": ["first-nested"],
"ignore": ["after-comment"]
} ],
"selector-list-comma-space-after": "always-single-line",
"unit-case": "lower"
}
}