@taiga-ui/stylelint-config 0.384.0 → 0.386.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 +12 -12
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
+
$schema:
|
|
3
|
+
'https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/stylelintrc.json',
|
|
2
4
|
plugins: [
|
|
3
5
|
'stylelint-order',
|
|
4
6
|
'stylelint-rem-over-px',
|
|
@@ -7,8 +9,6 @@ module.exports = {
|
|
|
7
9
|
'@stylistic/stylelint-plugin',
|
|
8
10
|
],
|
|
9
11
|
extends: ['@stylistic/stylelint-config'],
|
|
10
|
-
$schema:
|
|
11
|
-
'https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/stylelintrc.json',
|
|
12
12
|
allowEmptyInput: true,
|
|
13
13
|
customSyntax: 'postcss-less',
|
|
14
14
|
defaultSeverity: 'error',
|
|
@@ -19,14 +19,6 @@ module.exports = {
|
|
|
19
19
|
`${process.cwd()}/**/tests-report/**`,
|
|
20
20
|
],
|
|
21
21
|
rules: {
|
|
22
|
-
'@stylistic/selector-pseudo-class-parentheses-space-inside': null,
|
|
23
|
-
'color-no-invalid-hex': true,
|
|
24
|
-
'comment-whitespace-inside': 'always',
|
|
25
|
-
'declaration-block-no-shorthand-property-overrides': true,
|
|
26
|
-
'named-grid-areas-no-invalid': true,
|
|
27
|
-
'no-invalid-double-slash-comments': true,
|
|
28
|
-
'no-invalid-position-at-import-rule': null,
|
|
29
|
-
'selector-max-id': null,
|
|
30
22
|
'@stylistic/declaration-block-trailing-semicolon': null,
|
|
31
23
|
'@stylistic/declaration-colon-newline-after': null,
|
|
32
24
|
'@stylistic/declaration-colon-space-after': null,
|
|
@@ -34,6 +26,7 @@ module.exports = {
|
|
|
34
26
|
'@stylistic/max-line-length': null,
|
|
35
27
|
'@stylistic/no-extra-semicolons': null,
|
|
36
28
|
'@stylistic/selector-descendant-combinator-no-non-space': null,
|
|
29
|
+
'@stylistic/selector-pseudo-class-parentheses-space-inside': null,
|
|
37
30
|
'@stylistic/string-quotes': 'single',
|
|
38
31
|
'@stylistic/value-list-comma-newline-after': null,
|
|
39
32
|
'alpha-value-notation': 'number',
|
|
@@ -71,7 +64,9 @@ module.exports = {
|
|
|
71
64
|
ignoreProperties: ['mask', 'mask-image'],
|
|
72
65
|
},
|
|
73
66
|
],
|
|
67
|
+
'color-no-invalid-hex': true,
|
|
74
68
|
'comment-no-empty': true,
|
|
69
|
+
'comment-whitespace-inside': 'always',
|
|
75
70
|
'csstools/use-logical': [
|
|
76
71
|
'always',
|
|
77
72
|
{
|
|
@@ -118,6 +113,7 @@ module.exports = {
|
|
|
118
113
|
],
|
|
119
114
|
},
|
|
120
115
|
],
|
|
116
|
+
'declaration-block-no-shorthand-property-overrides': true,
|
|
121
117
|
'declaration-empty-line-before': [
|
|
122
118
|
'always',
|
|
123
119
|
{
|
|
@@ -127,8 +123,8 @@ module.exports = {
|
|
|
127
123
|
],
|
|
128
124
|
'declaration-no-important': null,
|
|
129
125
|
'declaration-property-value-disallowed-list': {
|
|
130
|
-
width: ['stretch'],
|
|
131
126
|
'inline-size': ['stretch'],
|
|
127
|
+
width: ['stretch'],
|
|
132
128
|
},
|
|
133
129
|
'font-family-name-quotes': null,
|
|
134
130
|
'font-family-no-duplicate-names': true,
|
|
@@ -157,9 +153,13 @@ module.exports = {
|
|
|
157
153
|
'media-feature-name-no-unknown': true,
|
|
158
154
|
'media-feature-name-no-vendor-prefix': null,
|
|
159
155
|
'media-feature-name-value-no-unknown': true,
|
|
156
|
+
'named-grid-areas-no-invalid': true,
|
|
160
157
|
'no-descending-specificity': null,
|
|
158
|
+
'no-duplicate-at-import-rules': true,
|
|
161
159
|
'no-duplicate-selectors': true,
|
|
162
160
|
'no-empty-source': true,
|
|
161
|
+
'no-invalid-double-slash-comments': true,
|
|
162
|
+
'no-invalid-position-at-import-rule': null,
|
|
163
163
|
'no-irregular-whitespace': true,
|
|
164
164
|
'no-unknown-animations': null,
|
|
165
165
|
'no-unknown-custom-media': true,
|
|
@@ -273,6 +273,7 @@ module.exports = {
|
|
|
273
273
|
],
|
|
274
274
|
'selector-anb-no-unmatchable': true,
|
|
275
275
|
'selector-attribute-quotes': 'always',
|
|
276
|
+
'selector-max-id': null,
|
|
276
277
|
'selector-max-specificity': null,
|
|
277
278
|
'selector-max-type': null,
|
|
278
279
|
'selector-no-qualifying-type': null,
|
|
@@ -327,6 +328,5 @@ module.exports = {
|
|
|
327
328
|
},
|
|
328
329
|
],
|
|
329
330
|
'value-no-vendor-prefix': true,
|
|
330
|
-
'no-duplicate-at-import-rules': true,
|
|
331
331
|
},
|
|
332
332
|
};
|