@taiga-ui/stylelint-config 0.146.0 → 0.147.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.js +32 -29
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
$schema:
|
|
3
3
|
'https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/stylelintrc.json',
|
|
4
|
-
plugins: ['stylelint-order', 'stylelint-
|
|
4
|
+
plugins: ['stylelint-order', 'stylelint-rem-over-px', 'stylelint-use-logical'],
|
|
5
5
|
allowEmptyInput: true,
|
|
6
6
|
customSyntax: 'postcss-less',
|
|
7
7
|
defaultSeverity: 'error',
|
|
@@ -188,34 +188,6 @@ module.exports = {
|
|
|
188
188
|
},
|
|
189
189
|
],
|
|
190
190
|
'media-feature-name-no-vendor-prefix': null,
|
|
191
|
-
'meowtec/no-px': [
|
|
192
|
-
true,
|
|
193
|
-
{
|
|
194
|
-
ignore: [
|
|
195
|
-
'-5px',
|
|
196
|
-
'-4px',
|
|
197
|
-
'-3px',
|
|
198
|
-
'-2px',
|
|
199
|
-
'-1px',
|
|
200
|
-
'0px',
|
|
201
|
-
'1px',
|
|
202
|
-
'2px',
|
|
203
|
-
'3px',
|
|
204
|
-
'4px',
|
|
205
|
-
'5px',
|
|
206
|
-
'16px',
|
|
207
|
-
'0.1px',
|
|
208
|
-
'0.2px',
|
|
209
|
-
'0.3px',
|
|
210
|
-
'0.4px',
|
|
211
|
-
'0.5px',
|
|
212
|
-
'0.6px',
|
|
213
|
-
'0.7px',
|
|
214
|
-
'0.8px',
|
|
215
|
-
'0.9px',
|
|
216
|
-
],
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
191
|
'named-grid-areas-no-invalid': [
|
|
220
192
|
true,
|
|
221
193
|
{
|
|
@@ -268,6 +240,37 @@ module.exports = {
|
|
|
268
240
|
},
|
|
269
241
|
],
|
|
270
242
|
'property-no-vendor-prefix': null,
|
|
243
|
+
'rem-over-px/rem-over-px': [
|
|
244
|
+
true,
|
|
245
|
+
{
|
|
246
|
+
fontSize: 16,
|
|
247
|
+
ignore: [
|
|
248
|
+
'-5px',
|
|
249
|
+
'-4px',
|
|
250
|
+
'-3px',
|
|
251
|
+
'-2px',
|
|
252
|
+
'-1px',
|
|
253
|
+
'0px',
|
|
254
|
+
'1px',
|
|
255
|
+
'2px',
|
|
256
|
+
'3px',
|
|
257
|
+
'4px',
|
|
258
|
+
'5px',
|
|
259
|
+
'16px',
|
|
260
|
+
'0.1px',
|
|
261
|
+
'0.2px',
|
|
262
|
+
'0.3px',
|
|
263
|
+
'0.4px',
|
|
264
|
+
'0.5px',
|
|
265
|
+
'0.6px',
|
|
266
|
+
'0.7px',
|
|
267
|
+
'0.8px',
|
|
268
|
+
'0.9px',
|
|
269
|
+
],
|
|
270
|
+
ignoreAtRules: ['media'],
|
|
271
|
+
ignoreFunctions: ['url'],
|
|
272
|
+
},
|
|
273
|
+
],
|
|
271
274
|
'rule-empty-line-before': [
|
|
272
275
|
'always',
|
|
273
276
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/stylelint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.147.1",
|
|
4
4
|
"description": "Taiga UI stylelint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"postcss-less": "^6.0.0",
|
|
18
18
|
"stylelint": "^16.9.0",
|
|
19
19
|
"stylelint-config-standard": "^36.0.1",
|
|
20
|
-
"stylelint-no-px": "^2.0.0",
|
|
21
20
|
"stylelint-order": "^6.0.4",
|
|
21
|
+
"stylelint-rem-over-px": "^1.0.1",
|
|
22
22
|
"stylelint-use-logical": "^2.1.2"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|