-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.stylelintrc.json
44 lines (44 loc) · 995 Bytes
/
.stylelintrc.json
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
{
"extends": "./node_modules/stylelint-config-recommended",
"plugins": ["./node_modules/stylelint-scss"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"function",
"if",
"each",
"else",
"include",
"mixin",
"return",
"for",
"content",
"extend"
]
}
],
"block-no-empty": null,
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always",
{
"ignore": ["stylelint-commands", "after-comment"]
}
],
"declaration-colon-space-after": "always",
"indentation": 4,
"max-empty-lines": 2,
"max-nesting-depth": 4,
"no-descending-specificity": null,
"rule-empty-line-before": [
"always",
{
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"unit-whitelist": ["px", "%", "ms", "vh", "vw", "x", "fr", "deg", "em"]
}
}