@taiga-ui/stylelint-config 0.118.1 → 0.119.0
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 +82 -20
- package/package.json +1 -1
- package/project.json +3 -3
package/index.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/stylelintrc.json",
|
|
3
|
-
"plugins": ["stylelint-order", "stylelint-no-px"],
|
|
4
3
|
"allowEmptyInput": true,
|
|
5
|
-
"defaultSeverity": "error",
|
|
6
4
|
"customSyntax": "postcss-less",
|
|
5
|
+
"defaultSeverity": "error",
|
|
6
|
+
"plugins": [
|
|
7
|
+
"stylelint-order",
|
|
8
|
+
"stylelint-no-px"
|
|
9
|
+
],
|
|
7
10
|
"rules": {
|
|
8
11
|
"function-url-quotes": null,
|
|
9
12
|
"selector-max-specificity": null,
|
|
@@ -59,7 +62,12 @@
|
|
|
59
62
|
"position",
|
|
60
63
|
{
|
|
61
64
|
"order": "flexible",
|
|
62
|
-
"properties": [
|
|
65
|
+
"properties": [
|
|
66
|
+
"top",
|
|
67
|
+
"left",
|
|
68
|
+
"right",
|
|
69
|
+
"bottom"
|
|
70
|
+
]
|
|
63
71
|
},
|
|
64
72
|
"z-index",
|
|
65
73
|
"display"
|
|
@@ -71,24 +79,48 @@
|
|
|
71
79
|
"selector-pseudo-element-no-unknown": [
|
|
72
80
|
true,
|
|
73
81
|
{
|
|
74
|
-
"ignorePseudoElements": [
|
|
82
|
+
"ignorePseudoElements": [
|
|
83
|
+
"ng-deep"
|
|
84
|
+
]
|
|
75
85
|
}
|
|
76
86
|
],
|
|
77
87
|
"selector-type-no-unknown": [
|
|
78
88
|
true,
|
|
79
89
|
{
|
|
80
|
-
"ignore": [
|
|
81
|
-
|
|
90
|
+
"ignore": [
|
|
91
|
+
"custom-elements"
|
|
92
|
+
],
|
|
93
|
+
"ignoreTypes": [
|
|
94
|
+
"/^/deep/"
|
|
95
|
+
]
|
|
82
96
|
}
|
|
83
97
|
],
|
|
84
|
-
"unit-allowed-list": [
|
|
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
|
+
],
|
|
85
113
|
"color-no-invalid-hex": [
|
|
86
114
|
true,
|
|
87
115
|
{
|
|
88
116
|
"severity": "error"
|
|
89
117
|
}
|
|
90
118
|
],
|
|
91
|
-
"property-disallowed-list": [
|
|
119
|
+
"property-disallowed-list": [
|
|
120
|
+
"border-inline",
|
|
121
|
+
"padding-inline",
|
|
122
|
+
"margin-inline"
|
|
123
|
+
],
|
|
92
124
|
"function-calc-no-unspaced-operator": [
|
|
93
125
|
true,
|
|
94
126
|
{
|
|
@@ -122,7 +154,9 @@
|
|
|
122
154
|
"declaration-block-no-duplicate-properties": [
|
|
123
155
|
true,
|
|
124
156
|
{
|
|
125
|
-
"ignore": [
|
|
157
|
+
"ignore": [
|
|
158
|
+
"consecutive-duplicates"
|
|
159
|
+
],
|
|
126
160
|
"severity": "error"
|
|
127
161
|
}
|
|
128
162
|
],
|
|
@@ -225,8 +259,13 @@
|
|
|
225
259
|
"at-rule-empty-line-before": [
|
|
226
260
|
"always",
|
|
227
261
|
{
|
|
228
|
-
"except": [
|
|
229
|
-
|
|
262
|
+
"except": [
|
|
263
|
+
"first-nested"
|
|
264
|
+
],
|
|
265
|
+
"ignore": [
|
|
266
|
+
"after-comment",
|
|
267
|
+
"blockless-after-same-name-blockless"
|
|
268
|
+
],
|
|
230
269
|
"severity": "error"
|
|
231
270
|
}
|
|
232
271
|
],
|
|
@@ -251,7 +290,9 @@
|
|
|
251
290
|
"length-zero-no-unit": [
|
|
252
291
|
true,
|
|
253
292
|
{
|
|
254
|
-
"ignore": [
|
|
293
|
+
"ignore": [
|
|
294
|
+
"custom-properties"
|
|
295
|
+
],
|
|
255
296
|
"severity": "error"
|
|
256
297
|
}
|
|
257
298
|
],
|
|
@@ -264,8 +305,12 @@
|
|
|
264
305
|
"rule-empty-line-before": [
|
|
265
306
|
"always",
|
|
266
307
|
{
|
|
267
|
-
"except": [
|
|
268
|
-
|
|
308
|
+
"except": [
|
|
309
|
+
"first-nested"
|
|
310
|
+
],
|
|
311
|
+
"ignore": [
|
|
312
|
+
"after-comment"
|
|
313
|
+
],
|
|
269
314
|
"severity": "error"
|
|
270
315
|
}
|
|
271
316
|
],
|
|
@@ -291,8 +336,15 @@
|
|
|
291
336
|
"lower",
|
|
292
337
|
{
|
|
293
338
|
"severity": "error",
|
|
294
|
-
"ignoreKeywords": [
|
|
295
|
-
|
|
339
|
+
"ignoreKeywords": [
|
|
340
|
+
"currentColor",
|
|
341
|
+
"backgroundColor",
|
|
342
|
+
"optimizeLegibility"
|
|
343
|
+
],
|
|
344
|
+
"ignoreProperties": [
|
|
345
|
+
"/^--/",
|
|
346
|
+
"/^\\$/"
|
|
347
|
+
]
|
|
296
348
|
}
|
|
297
349
|
],
|
|
298
350
|
"function-url-no-scheme-relative": [
|
|
@@ -328,16 +380,26 @@
|
|
|
328
380
|
"custom-property-empty-line-before": [
|
|
329
381
|
"always",
|
|
330
382
|
{
|
|
331
|
-
"except": [
|
|
332
|
-
|
|
383
|
+
"except": [
|
|
384
|
+
"after-custom-property",
|
|
385
|
+
"first-nested"
|
|
386
|
+
],
|
|
387
|
+
"ignore": [
|
|
388
|
+
"after-comment"
|
|
389
|
+
],
|
|
333
390
|
"severity": "error"
|
|
334
391
|
}
|
|
335
392
|
],
|
|
336
393
|
"declaration-empty-line-before": [
|
|
337
394
|
"always",
|
|
338
395
|
{
|
|
339
|
-
"except": [
|
|
340
|
-
|
|
396
|
+
"except": [
|
|
397
|
+
"first-nested",
|
|
398
|
+
"after-declaration"
|
|
399
|
+
],
|
|
400
|
+
"ignore": [
|
|
401
|
+
"after-comment"
|
|
402
|
+
],
|
|
341
403
|
"severity": "error"
|
|
342
404
|
}
|
|
343
405
|
]
|
package/package.json
CHANGED
package/project.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "stylelint-config",
|
|
3
2
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
|
-
"
|
|
5
|
-
"projectType": "library",
|
|
3
|
+
"name": "stylelint-config",
|
|
6
4
|
"prefix": "tui",
|
|
5
|
+
"projectType": "library",
|
|
6
|
+
"sourceRoot": "projects/stylelint-config",
|
|
7
7
|
"targets": {
|
|
8
8
|
"publish": {
|
|
9
9
|
"executor": "nx:run-commands",
|