@taiga-ui/stylelint-config 0.119.0 → 0.120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.json +19 -81
- package/package.json +1 -1
package/index.json
CHANGED
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
"allowEmptyInput": true,
|
|
4
4
|
"customSyntax": "postcss-less",
|
|
5
5
|
"defaultSeverity": "error",
|
|
6
|
-
"plugins": [
|
|
7
|
-
"stylelint-order",
|
|
8
|
-
"stylelint-no-px"
|
|
9
|
-
],
|
|
6
|
+
"plugins": ["stylelint-order", "stylelint-no-px"],
|
|
10
7
|
"rules": {
|
|
11
8
|
"function-url-quotes": null,
|
|
12
9
|
"selector-max-specificity": null,
|
|
@@ -62,12 +59,7 @@
|
|
|
62
59
|
"position",
|
|
63
60
|
{
|
|
64
61
|
"order": "flexible",
|
|
65
|
-
"properties": [
|
|
66
|
-
"top",
|
|
67
|
-
"left",
|
|
68
|
-
"right",
|
|
69
|
-
"bottom"
|
|
70
|
-
]
|
|
62
|
+
"properties": ["top", "left", "right", "bottom"]
|
|
71
63
|
},
|
|
72
64
|
"z-index",
|
|
73
65
|
"display"
|
|
@@ -79,48 +71,24 @@
|
|
|
79
71
|
"selector-pseudo-element-no-unknown": [
|
|
80
72
|
true,
|
|
81
73
|
{
|
|
82
|
-
"ignorePseudoElements": [
|
|
83
|
-
"ng-deep"
|
|
84
|
-
]
|
|
74
|
+
"ignorePseudoElements": ["ng-deep"]
|
|
85
75
|
}
|
|
86
76
|
],
|
|
87
77
|
"selector-type-no-unknown": [
|
|
88
78
|
true,
|
|
89
79
|
{
|
|
90
|
-
"ignore": [
|
|
91
|
-
|
|
92
|
-
],
|
|
93
|
-
"ignoreTypes": [
|
|
94
|
-
"/^/deep/"
|
|
95
|
-
]
|
|
80
|
+
"ignore": ["custom-elements"],
|
|
81
|
+
"ignoreTypes": ["/^/deep/"]
|
|
96
82
|
}
|
|
97
83
|
],
|
|
98
|
-
"unit-allowed-list": [
|
|
99
|
-
"px",
|
|
100
|
-
"rem",
|
|
101
|
-
"em",
|
|
102
|
-
"deg",
|
|
103
|
-
"s",
|
|
104
|
-
"ms",
|
|
105
|
-
"dpcm",
|
|
106
|
-
"turn",
|
|
107
|
-
"ch",
|
|
108
|
-
"%",
|
|
109
|
-
"vh",
|
|
110
|
-
"vw",
|
|
111
|
-
"fr"
|
|
112
|
-
],
|
|
84
|
+
"unit-allowed-list": ["px", "rem", "em", "deg", "s", "ms", "dpcm", "turn", "ch", "%", "vh", "vw", "fr"],
|
|
113
85
|
"color-no-invalid-hex": [
|
|
114
86
|
true,
|
|
115
87
|
{
|
|
116
88
|
"severity": "error"
|
|
117
89
|
}
|
|
118
90
|
],
|
|
119
|
-
"property-disallowed-list": [
|
|
120
|
-
"border-inline",
|
|
121
|
-
"padding-inline",
|
|
122
|
-
"margin-inline"
|
|
123
|
-
],
|
|
91
|
+
"property-disallowed-list": ["border-inline", "padding-inline", "margin-inline"],
|
|
124
92
|
"function-calc-no-unspaced-operator": [
|
|
125
93
|
true,
|
|
126
94
|
{
|
|
@@ -154,9 +122,7 @@
|
|
|
154
122
|
"declaration-block-no-duplicate-properties": [
|
|
155
123
|
true,
|
|
156
124
|
{
|
|
157
|
-
"ignore": [
|
|
158
|
-
"consecutive-duplicates"
|
|
159
|
-
],
|
|
125
|
+
"ignore": ["consecutive-duplicates"],
|
|
160
126
|
"severity": "error"
|
|
161
127
|
}
|
|
162
128
|
],
|
|
@@ -259,13 +225,8 @@
|
|
|
259
225
|
"at-rule-empty-line-before": [
|
|
260
226
|
"always",
|
|
261
227
|
{
|
|
262
|
-
"except": [
|
|
263
|
-
|
|
264
|
-
],
|
|
265
|
-
"ignore": [
|
|
266
|
-
"after-comment",
|
|
267
|
-
"blockless-after-same-name-blockless"
|
|
268
|
-
],
|
|
228
|
+
"except": ["first-nested"],
|
|
229
|
+
"ignore": ["after-comment", "blockless-after-same-name-blockless"],
|
|
269
230
|
"severity": "error"
|
|
270
231
|
}
|
|
271
232
|
],
|
|
@@ -290,9 +251,7 @@
|
|
|
290
251
|
"length-zero-no-unit": [
|
|
291
252
|
true,
|
|
292
253
|
{
|
|
293
|
-
"ignore": [
|
|
294
|
-
"custom-properties"
|
|
295
|
-
],
|
|
254
|
+
"ignore": ["custom-properties"],
|
|
296
255
|
"severity": "error"
|
|
297
256
|
}
|
|
298
257
|
],
|
|
@@ -305,12 +264,8 @@
|
|
|
305
264
|
"rule-empty-line-before": [
|
|
306
265
|
"always",
|
|
307
266
|
{
|
|
308
|
-
"except": [
|
|
309
|
-
|
|
310
|
-
],
|
|
311
|
-
"ignore": [
|
|
312
|
-
"after-comment"
|
|
313
|
-
],
|
|
267
|
+
"except": ["first-nested"],
|
|
268
|
+
"ignore": ["after-comment"],
|
|
314
269
|
"severity": "error"
|
|
315
270
|
}
|
|
316
271
|
],
|
|
@@ -336,15 +291,8 @@
|
|
|
336
291
|
"lower",
|
|
337
292
|
{
|
|
338
293
|
"severity": "error",
|
|
339
|
-
"ignoreKeywords": [
|
|
340
|
-
|
|
341
|
-
"backgroundColor",
|
|
342
|
-
"optimizeLegibility"
|
|
343
|
-
],
|
|
344
|
-
"ignoreProperties": [
|
|
345
|
-
"/^--/",
|
|
346
|
-
"/^\\$/"
|
|
347
|
-
]
|
|
294
|
+
"ignoreKeywords": ["currentColor", "backgroundColor", "optimizeLegibility"],
|
|
295
|
+
"ignoreProperties": ["/^--/", "/^\\$/"]
|
|
348
296
|
}
|
|
349
297
|
],
|
|
350
298
|
"function-url-no-scheme-relative": [
|
|
@@ -380,26 +328,16 @@
|
|
|
380
328
|
"custom-property-empty-line-before": [
|
|
381
329
|
"always",
|
|
382
330
|
{
|
|
383
|
-
"except": [
|
|
384
|
-
|
|
385
|
-
"first-nested"
|
|
386
|
-
],
|
|
387
|
-
"ignore": [
|
|
388
|
-
"after-comment"
|
|
389
|
-
],
|
|
331
|
+
"except": ["after-custom-property", "first-nested"],
|
|
332
|
+
"ignore": ["after-comment"],
|
|
390
333
|
"severity": "error"
|
|
391
334
|
}
|
|
392
335
|
],
|
|
393
336
|
"declaration-empty-line-before": [
|
|
394
337
|
"always",
|
|
395
338
|
{
|
|
396
|
-
"except": [
|
|
397
|
-
|
|
398
|
-
"after-declaration"
|
|
399
|
-
],
|
|
400
|
-
"ignore": [
|
|
401
|
-
"after-comment"
|
|
402
|
-
],
|
|
339
|
+
"except": ["first-nested", "after-declaration"],
|
|
340
|
+
"ignore": ["after-comment"],
|
|
403
341
|
"severity": "error"
|
|
404
342
|
}
|
|
405
343
|
]
|