-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
43 lines (43 loc) · 1.11 KB
/
.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
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"ignore": ["after-comment", "first-nested"],
"ignoreAtRules": ["else", "for", "if", "import"]
}
],
"at-rule-no-unknown": null,
"color-hex-case": "lower",
"color-named": "never",
"declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended",
"function-name-case": ["lower", {}],
"function-url-quotes": "always",
"max-empty-lines": 2,
"max-nesting-depth": 4,
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": ["min-device-pixel-ratio"]
}
],
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": [true, {}],
"property-no-unknown": [
true,
{
"ignoreProperties": ["place-items"]
}
],
"selector-type-no-unknown": null,
"string-quotes": "single",
"value-keyword-case": [
"lower",
{
"ignoreProperties": ["/font-?family/i"]
}
]
}
}