-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
107 lines (106 loc) · 2.1 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"extends": [
"stylelint-config-standard"
],
"ignoreFiles": [
"dist/less/**/*.less"
],
"rules": {
"block-no-empty": null,
"color-hex-case": "lower",
"color-no-invalid-hex": true,
"declaration-colon-newline-after": "always-multi-line",
"no-descending-specificity": null,
"comment-empty-line-before": [
"always",
{
"ignore": [
"stylelint-commands",
"after-comment"
]
}
],
"declaration-colon-space-after": "always-single-line",
"indentation": [
"tab",
{
"except": [
"value"
]
}
],
"max-empty-lines": 2,
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"unit-whitelist": [
[
"rem",
"em",
"%"
],
{
"ignoreProperties": {
"px": [
"line-height",
"/^border/",
"/^box-shadow/",
"column-rule",
"text-shadow",
"transform"
],
"%": [
"min-height",
"min-width",
"width",
"height",
"border-radius",
"transform",
"top",
"right",
"bottom",
"left",
"/^background/",
"/^margin/",
"flex-basis"
],
"vh": [
"max-height",
"min-height",
"height"
],
"vw": [
"max-width",
"min-width",
"width"
],
"s": [
"transition",
"animation",
"animation-duration",
"-webkit-animation"
],
"fr": [
"grid-template-columns",
"grid-template-rows"
],
"deg": [
"background",
"background-image",
"transform",
"filter"
]
}
}
],
"number-leading-zero": "never"
}
}