@taiga-ui/stylelint-config 0.250.0 → 0.251.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.js +10 -10
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
$schema:
|
|
3
|
-
'https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/stylelintrc.json',
|
|
4
2
|
plugins: [
|
|
5
3
|
'stylelint-order',
|
|
6
4
|
'stylelint-rem-over-px',
|
|
@@ -8,6 +6,8 @@ module.exports = {
|
|
|
8
6
|
'@stylistic/stylelint-plugin',
|
|
9
7
|
],
|
|
10
8
|
extends: ['@stylistic/stylelint-config'],
|
|
9
|
+
$schema:
|
|
10
|
+
'https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/stylelintrc.json',
|
|
11
11
|
allowEmptyInput: true,
|
|
12
12
|
customSyntax: 'postcss-less',
|
|
13
13
|
defaultSeverity: 'error',
|
|
@@ -18,6 +18,12 @@ module.exports = {
|
|
|
18
18
|
`${process.cwd()}/**/tests-report/**`,
|
|
19
19
|
],
|
|
20
20
|
rules: {
|
|
21
|
+
'color-no-invalid-hex': true,
|
|
22
|
+
'comment-whitespace-inside': 'always',
|
|
23
|
+
'named-grid-areas-no-invalid': true,
|
|
24
|
+
'no-invalid-double-slash-comments': true,
|
|
25
|
+
'no-invalid-position-at-import-rule': null,
|
|
26
|
+
'selector-max-id': null,
|
|
21
27
|
'@stylistic/declaration-block-trailing-semicolon': null,
|
|
22
28
|
'@stylistic/declaration-colon-newline-after': null,
|
|
23
29
|
'@stylistic/declaration-colon-space-after': null,
|
|
@@ -61,9 +67,7 @@ module.exports = {
|
|
|
61
67
|
ignoreProperties: ['mask', 'mask-image'],
|
|
62
68
|
},
|
|
63
69
|
],
|
|
64
|
-
'color-no-invalid-hex': true,
|
|
65
70
|
'comment-no-empty': true,
|
|
66
|
-
'comment-whitespace-inside': 'always',
|
|
67
71
|
'csstools/use-logical': [
|
|
68
72
|
'always',
|
|
69
73
|
{
|
|
@@ -100,7 +104,6 @@ module.exports = {
|
|
|
100
104
|
ignoreShorthands: ['inset', 'overflow', 'margin-inline', 'inset-block'],
|
|
101
105
|
},
|
|
102
106
|
],
|
|
103
|
-
'declaration-block-no-shorthand-property-overrides': true,
|
|
104
107
|
'declaration-empty-line-before': [
|
|
105
108
|
'always',
|
|
106
109
|
{
|
|
@@ -137,13 +140,9 @@ module.exports = {
|
|
|
137
140
|
'media-feature-name-no-unknown': true,
|
|
138
141
|
'media-feature-name-no-vendor-prefix': null,
|
|
139
142
|
'media-feature-name-value-no-unknown': true,
|
|
140
|
-
'named-grid-areas-no-invalid': true,
|
|
141
143
|
'no-descending-specificity': null,
|
|
142
|
-
'no-duplicate-at-import-rules': true,
|
|
143
144
|
'no-duplicate-selectors': true,
|
|
144
145
|
'no-empty-source': true,
|
|
145
|
-
'no-invalid-double-slash-comments': true,
|
|
146
|
-
'no-invalid-position-at-import-rule': null,
|
|
147
146
|
'no-irregular-whitespace': true,
|
|
148
147
|
'no-unknown-animations': null,
|
|
149
148
|
'no-unknown-custom-media': true,
|
|
@@ -216,7 +215,6 @@ module.exports = {
|
|
|
216
215
|
],
|
|
217
216
|
'selector-anb-no-unmatchable': true,
|
|
218
217
|
'selector-attribute-quotes': 'always',
|
|
219
|
-
'selector-max-id': null,
|
|
220
218
|
'selector-max-specificity': null,
|
|
221
219
|
'selector-max-type': null,
|
|
222
220
|
'selector-no-qualifying-type': null,
|
|
@@ -270,5 +268,7 @@ module.exports = {
|
|
|
270
268
|
},
|
|
271
269
|
],
|
|
272
270
|
'value-no-vendor-prefix': true,
|
|
271
|
+
'no-duplicate-at-import-rules': true,
|
|
272
|
+
'declaration-block-no-shorthand-property-overrides': true,
|
|
273
273
|
},
|
|
274
274
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/stylelint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.251.0",
|
|
4
4
|
"description": "Taiga UI stylelint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
17
17
|
"@stylistic/stylelint-plugin": "^3.1.2",
|
|
18
|
-
"postcss": "^8.5.
|
|
18
|
+
"postcss": "^8.5.2",
|
|
19
19
|
"postcss-less": "^6.0.0",
|
|
20
20
|
"stylelint": "^16.14.1",
|
|
21
21
|
"stylelint-config-standard": "^37.0.0",
|