-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
312 lines (286 loc) · 10.8 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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
{
"rules": {
"color-hex-case": null,
"color-hex-length": null,
"color-named": ["never", { "severity": "warning" }],
"color-no-hex": [true, { "severity": "warning" }],
"color-no-invalid-hex": [true, { "severity": "error" }],
"font-family-name-quotes": [
"always-unless-keyword",
{ "severity": "warning" }
],
"font-family-no-duplicate-names": [true, { "severity": "warning" }],
"font-weight-notation": [
"numeric",
{ "severity": "warning", "ignore": ["relative"] }
],
"function-blacklist": null,
"function-calc-no-unspaced-operator": [true, { "severity": "warning" }],
"function-comma-newline-after": null,
"function-comma-newline-before": null,
"function-comma-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"function-comma-space-before": ["never", { "severity": "warning" }],
"function-linear-gradient-no-nonstandard-direction": [
true,
{ "severity": "error" }
],
"function-max-empty-lines": [0, { "severity": "warning" }],
"function-name-case": ["lower", { "severity": "warning" }],
"function-parentheses-newline-inside": [
"always-multi-line",
{ "severity": "warning" }
],
"function-parentheses-space-inside": [
"never-single-line",
{ "severity": "warning" }
],
"function-url-no-scheme-relative": null,
"function-url-quotes": ["always", { "severity": "warning" }],
"function-url-scheme-whitelist": null,
"function-whitelist": null,
"function-whitespace-after": ["always", { "severity": "warning" }],
"number-leading-zero": ["always", { "severity": "warning" }],
"number-max-precision": [4, { "severity": "warning" }],
"number-no-trailing-zeros": null,
"string-no-newline": [true, { "severity": "error" }],
"string-quotes": ["double", { "severity": "warning" }],
"length-zero-no-unit": null,
"time-min-milliseconds": null,
"unit-blacklist": null,
"unit-case": ["lower", { "severity": "warning" }],
"unit-no-unknown": [true, { "severity": "error" }],
"unit-whitelist": null,
"value-keyword-case": ["lower", { "severity": "warning" }],
"value-no-vendor-prefix": [true, { "severity": "warning" }],
"value-list-comma-newline-after": null,
"value-list-comma-newline-before": [
"never-multi-line",
{ "severity": "warning" }
],
"value-list-comma-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"value-list-comma-space-before": ["never", { "severity": "warning" }],
"value-list-max-empty-lines": [0, { "severity": "warning" }],
"custom-property-empty-line-before": null,
"custom-property-pattern": null,
"shorthand-property-no-redundant-values": [true, { "severity": "warning" }],
"property-blacklist": null,
"property-case": ["lower", { "severity": "warning" }],
"property-no-unknown": [true, { "severity": "error" }],
"property-no-vendor-prefix": [true, { "severity": "warning" }],
"property-whitelist": null,
"keyframe-declaration-no-important": [true, { "severity": "warning" }],
"declaration-bang-space-after": ["never", { "severity": "warning" }],
"declaration-bang-space-before": ["always", { "severity": "warning" }],
"declaration-colon-newline-after": null,
"declaration-colon-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"declaration-colon-space-before": ["never", { "severity": "warning" }],
"declaration-empty-line-before": ["never", { "severity": "warning" }],
"declaration-no-important": [true, { "severity": "warning" }],
"declaration-property-unit-blacklist": null,
"declaration-property-unit-whitelist": null,
"declaration-property-value-blacklist": null,
"declaration-property-value-whitelist": null,
"declaration-block-no-duplicate-properties": [
true,
{ "severity": "error" }
],
"declaration-block-no-redundant-longhand-properties": [
true,
{ "severity": "warning", "ignoreShorthands": ["animation"] }
],
"declaration-block-no-shorthand-property-overrides": [
true,
{ "severity": "warning" }
],
"declaration-block-semicolon-newline-after": [
"always-multi-line",
{ "severity": "warning" }
],
"declaration-block-semicolon-newline-before": null,
"declaration-block-semicolon-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"declaration-block-semicolon-space-before": [
"never",
{ "severity": "warning" }
],
"declaration-block-single-line-max-declarations": [
1,
{ "severity": "warning" }
],
"declaration-block-trailing-semicolon": [
"always",
{ "severity": "warning" }
],
"block-closing-brace-empty-line-before": [
"never",
{ "severity": "warning" }
],
"block-closing-brace-newline-after": ["always", { "severity": "warning" }],
"block-closing-brace-newline-before": [
"always-multi-line",
{ "severity": "warning" }
],
"block-closing-brace-space-after": null,
"block-closing-brace-space-before": [
"always-single-line",
{ "severity": "warning" }
],
"block-no-empty": [true, { "severity": "warning" }],
"block-opening-brace-newline-after": [
"always-multi-line",
{ "severity": "warning" }
],
"block-opening-brace-newline-before": null,
"block-opening-brace-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"block-opening-brace-space-before": ["always", { "severity": "warning" }],
"selector-attribute-brackets-space-inside": [
"never",
{ "severity": "warning" }
],
"selector-attribute-operator-blacklist": null,
"selector-attribute-operator-space-after": [
"never",
{ "severity": "warning" }
],
"selector-attribute-operator-space-before": [
"never",
{ "severity": "warning" }
],
"selector-attribute-operator-whitelist": null,
"selector-attribute-quotes": ["always", { "severity": "warning" }],
"selector-class-pattern": null,
"selector-combinator-space-after": ["always", { "severity": "warning" }],
"selector-combinator-space-before": ["always", { "severity": "warning" }],
"selector-descendant-combinator-no-non-space": [
true,
{ "severity": "warning" }
],
"selector-id-pattern": null,
"selector-max-compound-selectors": [3, { "severity": "warning" }],
"selector-max-specificity": ["0,5,0", { "severity": "warning" }],
"selector-nested-pattern": null,
"selector-no-qualifying-type": [
true,
{
"severity": "warning",
"ignore": ["attribute"]
}
],
"selector-no-vendor-prefix": [true, { "severity": "warning" }],
"selector-pseudo-class-blacklist": null,
"selector-pseudo-class-case": ["lower", { "severity": "warning" }],
"selector-pseudo-class-no-unknown": [true, { "severity": "error" }],
"selector-pseudo-class-parentheses-space-inside": [
"never",
{ "severity": "warning" }
],
"selector-pseudo-class-whitelist": null,
"selector-pseudo-element-case": ["lower", { "severity": "warning" }],
"selector-pseudo-element-colon-notation": [
"double",
{ "severity": "warning" }
],
"selector-pseudo-element-no-unknown": [true, { "severity": "warning" }],
"selector-type-case": ["lower", { "severity": "warning" }],
"selector-type-no-unknown": [true, { "severity": "error" }],
"selector-max-empty-lines": [0, { "severity": "warning" }],
"selector-list-comma-newline-after": ["always", { "severity": "warning" }],
"selector-list-comma-newline-before": [
"never-multi-line",
{ "severity": "warning" }
],
"selector-list-comma-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"selector-list-comma-space-before": ["never", { "severity": "warning" }],
"rule-empty-line-before": [
"always-multi-line",
{
"severity": "warning",
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"media-feature-colon-space-after": ["always", { "severity": "warning" }],
"media-feature-colon-space-before": ["never", { "severity": "warning" }],
"media-feature-name-blacklist": null,
"media-feature-name-case": ["lower", { "severity": "warning" }],
"media-feature-name-no-unknown": [true, { "severity": "warning" }],
"media-feature-name-no-vendor-prefix": [true, { "severity": "warning" }],
"media-feature-name-whitelist": null,
"media-feature-parentheses-space-inside": [
"never",
{ "severity": "warning" }
],
"media-feature-range-operator-space-after": [
"always",
{ "severity": "warning" }
],
"media-feature-range-operator-space-before": [
"always",
{ "severity": "warning" }
],
"custom-media-pattern": null,
"media-query-list-comma-newline-after": [
"never-multi-line",
{ "severity": "warning" }
],
"media-query-list-comma-newline-before": [
"never-multi-line",
{ "severity": "warning" }
],
"media-query-list-comma-space-after": [
"always-single-line",
{ "severity": "warning" }
],
"media-query-list-comma-space-before": ["never", { "severity": "warning" }],
"at-rule-blacklist": null,
"at-rule-empty-line-before": [
"always",
{
"severity": "warning",
"except": ["blockless-after-same-name-blockless", "first-nested"],
"ignore": ["after-comment"]
}
],
"at-rule-name-case": ["lower", { "severity": "warning" }],
"at-rule-name-newline-after": null,
"at-rule-name-space-after": ["always", { "severity": "warning" }],
"at-rule-no-unknown": [true, { "severity": "warning" }],
"at-rule-no-vendor-prefix": [true, { "severity": "warning" }],
"at-rule-semicolon-newline-after": ["always", { "severity": "warning" }],
"at-rule-semicolon-space-before": ["never", { "severity": "warning" }],
"at-rule-whitelist": null,
"comment-empty-line-before": null,
"comment-no-empty": [true, { "severity": "warning" }],
"comment-whitespace-inside": ["always", { "severity": "warning" }],
"comment-word-blacklist": [["TODO"], { "severity": "warning" }],
"indentation": [2, { "severity": "error" }],
"max-empty-lines": [1, { "severity": "warning" }],
"max-line-length": [120, { "severity": "warning" }],
"max-nesting-depth": [3, { "severity": "warning" }],
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-empty-source": [true, { "severity": "warning" }],
"no-eol-whitespace": [true, { "severity": "warning" }],
"no-extra-semicolons": [true, { "severity": "warning" }],
"no-invalid-double-slash-comments": null,
"no-missing-end-of-source-newline": [true, { "severity": "warning" }],
"no-unknown-animations": [true, { "severity": "error" }]
}
}