forked from maykinmedia/open-inwoner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.rc
45 lines (45 loc) · 1.04 KB
/
stylelint.rc
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
{
"extends": [
"stylelint-config-sass-guidelines",
"./node_modules/prettier-stylelint/config.js"
],
"rules": {
"color-hex-case": "upper",
"color-hex-length": "long",
"max-nesting-depth": 3,
"declaration-block-single-line-max-declarations": 1,
"declaration-block-semicolon-newline-after": "always-multi-line",
"number-leading-zero": "never",
"declaration-property-value-whitelist": {
"color": ["/^\\$|initial|inherit|transparent/"]
},
"order/order": [
[
{
"type": "at-rule",
"name": "include",
"hasBlock": false
},
"dollar-variables",
"custom-properties",
{
"type": "at-rule",
"name": "extend"
},
"declarations",
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
{
"type": "at-rule",
"name": "include",
"parameter": "breakpoint",
"hasBlock": true
},
"rules"
]
]
}
}