-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
203 lines (203 loc) · 5.83 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"defaultSeverity": "warning",
"plugins": [
"@ronilaukkarinen/stylelint-value-no-unknown-custom-properties",
"stylelint-declaration-strict-value",
"stylelint-order"
],
"extends": [
"stylelint-config-standard-scss"
],
"customSyntax": "postcss-scss",
"rules": {
"order/order": [
{
"type": "at-rule",
"name": "import"
},
{
"type": "at-rule",
"name": "include"
},
{
"type": "at-rule",
"name": "extend"
},
"custom-properties",
"dollar-variables",
"declarations",
"rules",
{
"type": "at-rule",
"name": "media"
}
],
"scss/no-global-function-names": null,
"scss/at-mixin-argumentless-call-parentheses": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/at-rule-conditional-no-parentheses": null,
"scss/dollar-variable-pattern": null,
"order/properties-alphabetical-order": true,
"alpha-value-notation": "number",
"declaration-block-no-redundant-longhand-properties": null,
"custom-property-empty-line-before": "never",
"block-closing-brace-empty-line-before": "never",
"property-case": "lower",
"color-no-invalid-hex": true,
"color-hex-case": "lower",
"color-hex-length": "short",
"selector-pseudo-element-case": "lower",
"selector-type-case": "lower",
"selector-pseudo-class-parentheses-space-inside": "never",
"function-parentheses-space-inside": "never",
"function-comma-newline-after": "never-multi-line",
"function-name-case": "lower",
"function-max-empty-lines": 0,
"max-empty-lines": 1,
"unit-case": "lower",
"selector-pseudo-class-case": "lower",
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"comment-whitespace-inside": "always",
"indentation": 2,
"linebreaks": "unix",
"selector-max-specificity": "0,4,4",
"block-no-empty": true,
"declaration-colon-newline-after": null,
"declaration-empty-line-before": null,
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"value-list-comma-newline-after": "never-multi-line",
"selector-list-comma-newline-after": "always",
"declaration-colon-space-before": "never",
"declaration-block-trailing-semicolon": "always",
"no-eol-whitespace": true,
"no-empty-first-line": true,
"no-missing-end-of-source-newline": true,
"block-opening-brace-newline-after": "always",
"block-closing-brace-newline-after": "always-multi-line",
"string-quotes": null,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "never-multi-line",
"media-feature-name-case": "lower",
"font-family-no-missing-generic-family-keyword": true,
"font-family-name-quotes": "always-where-required",
"at-rule-no-unknown": null,
"no-invalid-position-at-import-rule": null,
"declaration-no-important": true,
"comment-empty-line-before": null,
"at-rule-name-newline-after": null,
"at-rule-semicolon-newline-after": null,
"at-rule-semicolon-space-before": "never",
"at-rule-name-space-after": "always",
"at-rule-name-case": "lower",
"function-url-quotes": "always",
"unit-no-unknown": true,
"property-no-unknown": true,
"no-duplicate-selectors": true,
"no-extra-semicolons": true,
"length-zero-no-unit": true,
"font-weight-notation": "numeric",
"number-max-precision": 3,
"selector-class-pattern": null,
"selector-max-class": 4,
"selector-max-combinators": 3,
"selector-max-compound-selectors": 4,
"selector-max-pseudo-class": 2,
"selector-max-universal": 1,
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"selector-no-qualifying-type": null,
"declaration-block-no-duplicate-properties": true,
"no-unknown-animations": true,
"selector-pseudo-element-colon-notation": "double",
"shorthand-property-no-redundant-values": true,
"declaration-block-single-line-max-declarations": 1,
"value-keyword-case": [
"lower",
{
"camelCaseSvgKeywords": true
}
],
"scale-unlimited/declaration-strict-value": [
"/color$/",
{
"ignoreValues": [
"transparent",
"currentColor"
]
}
],
"csstools/value-no-unknown-custom-properties": null,
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested",
"after-single-line-comment"
],
"ignore": [
"inside-block"
]
}
],
"at-rule-empty-line-before": [
"always",
{
"except": [
"first-nested",
"blockless-after-same-name-blockless",
"blockless-after-blockless"
],
"ignore": [
"after-comment"
]
}
],
"no-descending-specificity": [
true,
{
"severity": "warning"
}
],
"max-nesting-depth": [
3,
{
"ignore": [
"blockless-at-rules",
"pseudo-classes"
]
}
],
"declaration-property-unit-allowed-list": [
{
"font-size": [
"rem",
"em",
"px"
],
"/^animation/": [
"ms",
"s"
],
"line-height": [
"px",
"%",
""
]
}
],
"property-disallowed-list": [
"font",
"animation",
"background"
]
}
}