-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc.json
48 lines (48 loc) · 1.47 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
44
45
46
47
48
{
"rules": {
"block-no-empty": true,
"comment-no-empty": true,
"color-no-invalid-hex": true,
"color-no-hex": true,
"declaration-no-important": true,
"declaration-block-no-duplicate-properties": null,
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"function-calc-no-unspaced-operator": true,
"function-linear-gradient-no-nonstandard-direction": true,
"length-zero-no-unit": true,
"length-zero-no-unit": true,
"max-empty-lines": 1,
"max-nesting-depth": 7,
"no-duplicate-at-import-rules": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"property-no-unknown": true,
"property-no-vendor-prefix": true,
"string-no-newline": true,
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-no-unknown": true,
"selector-type-no-unknown": true,
"unit-no-unknown": true,
"unit-whitelist": ["px", "em", "rem", "deg", "%", "s", "vw", "vh"],
"unit-blacklist": [["px"], {
"ignoreProperties": {
"px": [
"width",
"height",
"min-width",
"max-width",
"min-height",
"max-height"
]
},
"ignoreMediaFeatureNames": {
"px": [ "min-width", "max-width", "/height$/" ],
"dpi": [ "resolution" ]
}
}],
"value-no-vendor-prefix": true
}
}