@davidsneighbour/stylelint-config 5.0.12 → 5.0.17
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/CHANGELOG.md +16 -0
- package/README.md +0 -1
- package/index.js +548 -304
- package/package.json +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.17](https://github.com/davidsneighbour/configurations/compare/v5.0.16...v5.0.17) (2023-03-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @davidsneighbour/stylelint-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [5.0.16](https://github.com/davidsneighbour/configurations/compare/v5.0.15...v5.0.16) (2023-03-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @davidsneighbour/stylelint-config
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [5.0.12](https://github.com/davidsneighbour/configurations/compare/v5.0.11...v5.0.12) (2023-02-22)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @davidsneighbour/stylelint-config
|
package/README.md
CHANGED
|
@@ -68,6 +68,5 @@ npm run stylelint:config
|
|
|
68
68
|
- [Remark Lint](/packages/remark-config)
|
|
69
69
|
- [Standard Version](/packages/standard-version-config)
|
|
70
70
|
- [Stylelint](/packages/stylelint-config)
|
|
71
|
-
- [Textlint](/packages/textlint-config)
|
|
72
71
|
- [Tools](/packages/tools)
|
|
73
72
|
- [Webpack](/packages/webpack-config)
|
package/index.js
CHANGED
|
@@ -1,327 +1,571 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* see https://stylelint.io/user-guide/rules/list/
|
|
3
|
-
* see https://stylelint.io/user-guide/rules/regex
|
|
4
|
-
*
|
|
3
|
+
* see https://stylelint.io/user-guide/rules/regex/
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
plugins: [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
5
|
+
const config = {
|
|
6
|
+
"customSyntax": "postcss-scss",
|
|
7
|
+
"extends": [],
|
|
8
|
+
"ignoreFiles": [],
|
|
9
|
+
"plugins": [
|
|
10
|
+
"stylelint-scss",
|
|
11
|
+
"stylelint-no-unsupported-browser-features",
|
|
12
|
+
"stylelint-order"
|
|
13
|
+
],
|
|
14
|
+
"rules": {
|
|
15
|
+
"alpha-value-notation": [
|
|
16
|
+
"percentage",
|
|
15
17
|
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
"exceptProperties": [
|
|
19
|
+
"opacity",
|
|
20
|
+
"fill-opacity",
|
|
21
|
+
"flood-opacity",
|
|
22
|
+
"stop-opacity",
|
|
23
|
+
"stroke-opacity"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
18
26
|
],
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
"annotation-no-unknown": true,
|
|
28
|
+
"at-rule-disallowed-list": [
|
|
29
|
+
"debug"
|
|
30
|
+
],
|
|
31
|
+
"at-rule-empty-line-before": [
|
|
32
|
+
"always",
|
|
33
|
+
{
|
|
34
|
+
"except": [
|
|
35
|
+
"blockless-after-same-name-blockless",
|
|
36
|
+
"first-nested"
|
|
37
|
+
],
|
|
38
|
+
"ignore": [
|
|
39
|
+
"after-comment"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"at-rule-no-unknown": true,
|
|
44
|
+
"at-rule-no-vendor-prefix": true,
|
|
45
|
+
"block-no-empty": true,
|
|
46
|
+
"color-function-notation": "modern",
|
|
47
|
+
"color-hex-length": "short",
|
|
27
48
|
"color-named": "never",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"declaration-colon-space-after": "always",
|
|
32
|
-
"number-leading-zero": "always",
|
|
33
|
-
"function-url-quotes": "always",
|
|
34
|
-
"font-weight-notation": "numeric",
|
|
35
|
-
"font-family-name-quotes": "always-where-recommended",
|
|
36
|
-
"comment-empty-line-before": "always",
|
|
37
|
-
"selector-no-qualifying-type": [
|
|
38
|
-
true,
|
|
49
|
+
"color-no-invalid-hex": true,
|
|
50
|
+
"comment-empty-line-before": [
|
|
51
|
+
"always",
|
|
39
52
|
{
|
|
40
|
-
|
|
41
|
-
|
|
53
|
+
"except": [
|
|
54
|
+
"first-nested"
|
|
55
|
+
],
|
|
56
|
+
"ignore": [
|
|
57
|
+
"stylelint-commands"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
42
60
|
],
|
|
43
|
-
"
|
|
44
|
-
|
|
61
|
+
"comment-no-empty": true,
|
|
62
|
+
"comment-whitespace-inside": "always",
|
|
63
|
+
"custom-media-pattern": [
|
|
64
|
+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
45
65
|
{
|
|
46
|
-
|
|
47
|
-
}
|
|
66
|
+
"message": "(name) => `Expected custom media query name \"${name}\" to be kebab-case`"
|
|
67
|
+
}
|
|
48
68
|
],
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
69
|
+
"custom-property-empty-line-before": [
|
|
70
|
+
"always",
|
|
71
|
+
{
|
|
72
|
+
"except": [
|
|
73
|
+
"after-custom-property",
|
|
74
|
+
"first-nested"
|
|
75
|
+
],
|
|
76
|
+
"ignore": [
|
|
77
|
+
"after-comment",
|
|
78
|
+
"inside-single-line-block"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
58
81
|
],
|
|
59
|
-
"
|
|
60
|
-
"
|
|
82
|
+
"custom-property-no-missing-var-function": true,
|
|
83
|
+
"custom-property-pattern": [
|
|
84
|
+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
61
85
|
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
86
|
+
"message": "(name) => `Expected custom property name \"${name}\" to be kebab-case`"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"declaration-block-no-duplicate-custom-properties": true,
|
|
90
|
+
"declaration-block-no-duplicate-properties": [
|
|
91
|
+
true,
|
|
66
92
|
{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
93
|
+
"ignore": [
|
|
94
|
+
"consecutive-duplicates-with-different-values"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"declaration-block-no-redundant-longhand-properties": true,
|
|
99
|
+
"declaration-block-no-shorthand-property-overrides": true,
|
|
100
|
+
|
|
101
|
+
"declaration-block-single-line-max-declarations": 1,
|
|
102
|
+
|
|
103
|
+
"declaration-empty-line-before": [
|
|
104
|
+
"always",
|
|
71
105
|
{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"display",
|
|
76
|
-
"flex",
|
|
77
|
-
"flex-basis",
|
|
78
|
-
"flex-direction",
|
|
79
|
-
"flex-flow",
|
|
80
|
-
"flex-grow",
|
|
81
|
-
"flex-shrink",
|
|
82
|
-
"flex-wrap",
|
|
83
|
-
"grid",
|
|
84
|
-
"grid-area",
|
|
85
|
-
"grid-auto-rows",
|
|
86
|
-
"grid-auto-columns",
|
|
87
|
-
"grid-auto-flow",
|
|
88
|
-
"grid-gap",
|
|
89
|
-
"grid-row",
|
|
90
|
-
"grid-row-start",
|
|
91
|
-
"grid-row-end",
|
|
92
|
-
"grid-row-gap",
|
|
93
|
-
"grid-column",
|
|
94
|
-
"grid-column-start",
|
|
95
|
-
"grid-column-end",
|
|
96
|
-
"grid-column-gap",
|
|
97
|
-
"grid-template",
|
|
98
|
-
"grid-template-areas",
|
|
99
|
-
"grid-template-rows",
|
|
100
|
-
"grid-template-columns",
|
|
101
|
-
"gap",
|
|
102
|
-
"align-content",
|
|
103
|
-
"align-items",
|
|
104
|
-
"align-self",
|
|
105
|
-
"justify-content",
|
|
106
|
-
"justify-items",
|
|
107
|
-
"justify-self",
|
|
108
|
-
"order",
|
|
109
|
-
"float",
|
|
110
|
-
"clear",
|
|
111
|
-
"box-sizing",
|
|
112
|
-
"width",
|
|
113
|
-
"min-width",
|
|
114
|
-
"max-width",
|
|
115
|
-
"height",
|
|
116
|
-
"min-height",
|
|
117
|
-
"max-height",
|
|
118
|
-
"margin",
|
|
119
|
-
"margin-top",
|
|
120
|
-
"margin-right",
|
|
121
|
-
"margin-bottom",
|
|
122
|
-
"margin-left",
|
|
123
|
-
"padding",
|
|
124
|
-
"padding-top",
|
|
125
|
-
"padding-right",
|
|
126
|
-
"padding-bottom",
|
|
127
|
-
"padding-left",
|
|
128
|
-
"border",
|
|
129
|
-
"border-color",
|
|
130
|
-
"border-style",
|
|
131
|
-
"border-width",
|
|
132
|
-
"border-top",
|
|
133
|
-
"border-top-color",
|
|
134
|
-
"border-top-width",
|
|
135
|
-
"border-top-style",
|
|
136
|
-
"border-right",
|
|
137
|
-
"border-right-color",
|
|
138
|
-
"border-right-width",
|
|
139
|
-
"border-right-style",
|
|
140
|
-
"border-bottom",
|
|
141
|
-
"border-bottom-color",
|
|
142
|
-
"border-bottom-width",
|
|
143
|
-
"border-bottom-style",
|
|
144
|
-
"border-left",
|
|
145
|
-
"border-left-color",
|
|
146
|
-
"border-left-width",
|
|
147
|
-
"border-left-style",
|
|
148
|
-
"border-radius",
|
|
149
|
-
"border-top-left-radius",
|
|
150
|
-
"border-top-right-radius",
|
|
151
|
-
"border-bottom-right-radius",
|
|
152
|
-
"border-bottom-left-radius",
|
|
153
|
-
"border-image",
|
|
154
|
-
"border-image-source",
|
|
155
|
-
"border-image-slice",
|
|
156
|
-
"border-image-width",
|
|
157
|
-
"border-image-outset",
|
|
158
|
-
"border-image-repeat",
|
|
159
|
-
"border-collapse",
|
|
160
|
-
"border-spacing",
|
|
161
|
-
"object-fit",
|
|
162
|
-
"object-position",
|
|
163
|
-
"overflow",
|
|
164
|
-
"overflow-x",
|
|
165
|
-
"overflow-y",
|
|
106
|
+
"except": [
|
|
107
|
+
"after-declaration",
|
|
108
|
+
"first-nested"
|
|
166
109
|
],
|
|
167
|
-
|
|
110
|
+
"ignore": [
|
|
111
|
+
"after-comment",
|
|
112
|
+
"inside-single-line-block"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"declaration-property-value-disallowed-list": {
|
|
117
|
+
"border": [
|
|
118
|
+
"none"
|
|
119
|
+
],
|
|
120
|
+
"border-bottom": [
|
|
121
|
+
"none"
|
|
122
|
+
],
|
|
123
|
+
"border-left": [
|
|
124
|
+
"none"
|
|
125
|
+
],
|
|
126
|
+
"border-right": [
|
|
127
|
+
"none"
|
|
128
|
+
],
|
|
129
|
+
"border-top": [
|
|
130
|
+
"none"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"font-family-name-quotes": "always-where-recommended",
|
|
134
|
+
"font-family-no-duplicate-names": true,
|
|
135
|
+
"font-family-no-missing-generic-family-keyword": true,
|
|
136
|
+
"font-weight-notation": "numeric",
|
|
137
|
+
"function-calc-no-unspaced-operator": true,
|
|
138
|
+
"function-linear-gradient-no-nonstandard-direction": true,
|
|
139
|
+
"function-name-case": "lower",
|
|
140
|
+
"function-no-unknown": true,
|
|
141
|
+
"function-url-quotes": "always",
|
|
142
|
+
"hue-degree-notation": "angle",
|
|
143
|
+
"import-notation": "url",
|
|
144
|
+
"keyframe-block-no-duplicate-selectors": true,
|
|
145
|
+
"keyframe-declaration-no-important": true,
|
|
146
|
+
"keyframe-selector-notation": "percentage-unless-within-keyword-only-block",
|
|
147
|
+
"keyframes-name-pattern": [
|
|
148
|
+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
168
149
|
{
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"font-weight",
|
|
175
|
-
"font-size",
|
|
176
|
-
"font-family",
|
|
177
|
-
"font-style",
|
|
178
|
-
"font-variant",
|
|
179
|
-
"font-size-adjust",
|
|
180
|
-
"font-stretch",
|
|
181
|
-
"font-effect",
|
|
182
|
-
"font-emphasize",
|
|
183
|
-
"font-emphasize-position",
|
|
184
|
-
"font-emphasize-style",
|
|
185
|
-
"font-smooth",
|
|
186
|
-
"line-height",
|
|
187
|
-
"direction",
|
|
188
|
-
"letter-spacing",
|
|
189
|
-
"white-space",
|
|
190
|
-
"text-align",
|
|
191
|
-
"text-align-last",
|
|
192
|
-
"text-transform",
|
|
193
|
-
"text-decoration",
|
|
194
|
-
"text-emphasis",
|
|
195
|
-
"text-emphasis-color",
|
|
196
|
-
"text-emphasis-style",
|
|
197
|
-
"text-emphasis-position",
|
|
198
|
-
"text-indent",
|
|
199
|
-
"text-justify",
|
|
200
|
-
"text-outline",
|
|
201
|
-
"text-wrap",
|
|
202
|
-
"text-overflow",
|
|
203
|
-
"text-overflow-ellipsis",
|
|
204
|
-
"text-overflow-mode",
|
|
205
|
-
"text-orientation",
|
|
206
|
-
"text-shadow",
|
|
207
|
-
"vertical-align",
|
|
208
|
-
"word-wrap",
|
|
209
|
-
"word-break",
|
|
210
|
-
"word-spacing",
|
|
211
|
-
"overflow-wrap",
|
|
212
|
-
"tab-size",
|
|
213
|
-
"hyphens",
|
|
214
|
-
"unicode-bidi",
|
|
215
|
-
"columns",
|
|
216
|
-
"column-count",
|
|
217
|
-
"column-fill",
|
|
218
|
-
"column-gap",
|
|
219
|
-
"column-rule",
|
|
220
|
-
"column-rule-color",
|
|
221
|
-
"column-rule-style",
|
|
222
|
-
"column-rule-width",
|
|
223
|
-
"column-span",
|
|
224
|
-
"column-width",
|
|
225
|
-
"page-break-after",
|
|
226
|
-
"page-break-before",
|
|
227
|
-
"page-break-inside",
|
|
228
|
-
"src",
|
|
229
|
-
],
|
|
230
|
-
},
|
|
150
|
+
"message": "(name) => `Expected keyframe name \"${name}\" to be kebab-case`"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"length-zero-no-unit": [
|
|
154
|
+
true,
|
|
231
155
|
{
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
"table-layout",
|
|
240
|
-
"empty-cells",
|
|
241
|
-
"caption-side",
|
|
242
|
-
"background",
|
|
243
|
-
"background-color",
|
|
244
|
-
"background-image",
|
|
245
|
-
"background-repeat",
|
|
246
|
-
"background-position",
|
|
247
|
-
"background-position-x",
|
|
248
|
-
"background-position-y",
|
|
249
|
-
"background-size",
|
|
250
|
-
"background-clip",
|
|
251
|
-
"background-origin",
|
|
252
|
-
"background-attachment",
|
|
253
|
-
"background-blend-mode",
|
|
254
|
-
"outline",
|
|
255
|
-
"outline-width",
|
|
256
|
-
"outline-style",
|
|
257
|
-
"outline-color",
|
|
258
|
-
"outline-offset",
|
|
259
|
-
"box-shadow",
|
|
260
|
-
"box-decoration-break",
|
|
261
|
-
"transform",
|
|
262
|
-
"transform-origin",
|
|
263
|
-
"transform-style",
|
|
264
|
-
"backface-visibility",
|
|
265
|
-
"perspective",
|
|
266
|
-
"perspective-origin",
|
|
267
|
-
"visibility",
|
|
268
|
-
"cursor",
|
|
269
|
-
"opacity",
|
|
270
|
-
"filter",
|
|
271
|
-
"isolation",
|
|
272
|
-
"backdrop-filter",
|
|
273
|
-
"mix-blend-mode",
|
|
274
|
-
],
|
|
275
|
-
},
|
|
156
|
+
"ignore": [
|
|
157
|
+
"custom-properties"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"max-nesting-depth": [
|
|
162
|
+
3,
|
|
276
163
|
{
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
164
|
+
"ignoreAtRules": [
|
|
165
|
+
"each",
|
|
166
|
+
"media",
|
|
167
|
+
"supports",
|
|
168
|
+
"include"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"media-feature-name-no-unknown": true,
|
|
173
|
+
"media-feature-name-no-vendor-prefix": true,
|
|
174
|
+
"named-grid-areas-no-invalid": true,
|
|
175
|
+
"no-descending-specificity": true,
|
|
176
|
+
"no-duplicate-at-import-rules": true,
|
|
177
|
+
"no-duplicate-selectors": true,
|
|
178
|
+
"no-empty-source": true,
|
|
179
|
+
"no-invalid-double-slash-comments": true,
|
|
180
|
+
"no-invalid-position-at-import-rule": true,
|
|
181
|
+
"no-irregular-whitespace": true,
|
|
182
|
+
"number-leading-zero": "always",
|
|
183
|
+
"number-max-precision": 4,
|
|
184
|
+
"number-no-trailing-zeros": true,
|
|
185
|
+
"plugin/no-unsupported-browser-features": [
|
|
186
|
+
true,
|
|
296
187
|
{
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"
|
|
307
|
-
"user-select",
|
|
308
|
-
"nav-index",
|
|
309
|
-
"nav-up",
|
|
310
|
-
"nav-right",
|
|
311
|
-
"nav-down",
|
|
312
|
-
"nav-left",
|
|
313
|
-
"pointer-events",
|
|
314
|
-
"quotes",
|
|
315
|
-
"touch-action",
|
|
316
|
-
"will-change",
|
|
317
|
-
"zoom",
|
|
318
|
-
"fill",
|
|
319
|
-
"fill-rule",
|
|
320
|
-
"clip-rule",
|
|
321
|
-
"stroke",
|
|
188
|
+
"severity": "warning"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"property-no-unknown": true,
|
|
192
|
+
"property-no-vendor-prefix": true,
|
|
193
|
+
"rule-empty-line-before": [
|
|
194
|
+
"always-multi-line",
|
|
195
|
+
{
|
|
196
|
+
"except": [
|
|
197
|
+
"first-nested"
|
|
322
198
|
],
|
|
323
|
-
|
|
199
|
+
"ignore": [
|
|
200
|
+
"after-comment"
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"scss/at-extend-no-missing-placeholder": null,
|
|
205
|
+
"scss/at-function-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
|
|
206
|
+
"scss/at-import-no-partial-leading-underscore": true,
|
|
207
|
+
"scss/at-import-partial-extension-blacklist": [
|
|
208
|
+
"scss"
|
|
324
209
|
],
|
|
210
|
+
"scss/at-mixin-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
|
|
211
|
+
"scss/at-rule-no-unknown": true,
|
|
212
|
+
"scss/dollar-variable-colon-space-after": "always",
|
|
213
|
+
"scss/dollar-variable-colon-space-before": "never",
|
|
214
|
+
"scss/dollar-variable-pattern": "^[_]?[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
|
|
215
|
+
"scss/percent-placeholder-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
|
|
216
|
+
"scss/selector-no-redundant-nesting-selector": true,
|
|
217
|
+
"selector-attribute-quotes": "always",
|
|
218
|
+
"selector-class-pattern": [
|
|
219
|
+
"^[a-z0-9\\-]+$",
|
|
220
|
+
{
|
|
221
|
+
"message": "Selector should be written in lowercase with hyphens (selector-class-pattern)"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"selector-id-pattern": [
|
|
225
|
+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
226
|
+
{
|
|
227
|
+
"message": "(selector) => `Expected id selector \"${selector}\" to be kebab-case`"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"selector-max-compound-selectors": 3,
|
|
231
|
+
"selector-max-id": 1,
|
|
232
|
+
"selector-no-qualifying-type": [
|
|
233
|
+
true,
|
|
234
|
+
{
|
|
235
|
+
"ignore": [
|
|
236
|
+
"attribute",
|
|
237
|
+
"class"
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"selector-no-vendor-prefix": true,
|
|
242
|
+
"selector-not-notation": "complex",
|
|
243
|
+
"selector-pseudo-class-no-unknown": true,
|
|
244
|
+
"selector-pseudo-element-colon-notation": "double",
|
|
245
|
+
"selector-pseudo-element-no-unknown": true,
|
|
246
|
+
"selector-type-case": "lower",
|
|
247
|
+
"selector-type-no-unknown": [
|
|
248
|
+
true,
|
|
249
|
+
{
|
|
250
|
+
"ignore": [
|
|
251
|
+
"custom-elements"
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"shorthand-property-no-redundant-values": true,
|
|
256
|
+
"string-no-newline": true,
|
|
257
|
+
"unit-no-unknown": true,
|
|
258
|
+
"value-keyword-case": "lower",
|
|
259
|
+
"value-no-vendor-prefix": [
|
|
260
|
+
true,
|
|
261
|
+
{
|
|
262
|
+
"ignoreValues": [
|
|
263
|
+
"box",
|
|
264
|
+
"inline-box"
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
]
|
|
325
268
|
},
|
|
326
|
-
"
|
|
269
|
+
"order/order": [
|
|
270
|
+
"custom-properties",
|
|
271
|
+
"dollar-variables",
|
|
272
|
+
{
|
|
273
|
+
"name": "extend",
|
|
274
|
+
"type": "at-rule"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"hasBlock": false,
|
|
278
|
+
"name": "include",
|
|
279
|
+
"type": "at-rule"
|
|
280
|
+
},
|
|
281
|
+
"declarations",
|
|
282
|
+
{
|
|
283
|
+
"hasBlock": true,
|
|
284
|
+
"name": "include",
|
|
285
|
+
"type": "at-rule"
|
|
286
|
+
},
|
|
287
|
+
"rules",
|
|
288
|
+
"at-rules"
|
|
289
|
+
],
|
|
290
|
+
"order/properties-alphabetical-order": true,
|
|
291
|
+
"order/properties-order": [
|
|
292
|
+
{
|
|
293
|
+
"emptyLineBefore": "always",
|
|
294
|
+
"groupName": "special",
|
|
295
|
+
"properties": [
|
|
296
|
+
"composes",
|
|
297
|
+
"@import",
|
|
298
|
+
"@extend",
|
|
299
|
+
"@mixin",
|
|
300
|
+
"@at-root"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"emptyLineBefore": "always",
|
|
305
|
+
"groupName": "position",
|
|
306
|
+
"properties": [
|
|
307
|
+
"position",
|
|
308
|
+
"top",
|
|
309
|
+
"right",
|
|
310
|
+
"bottom",
|
|
311
|
+
"left",
|
|
312
|
+
"z-index"
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"emptyLineBefore": "always",
|
|
317
|
+
"groupName": "boxmodel",
|
|
318
|
+
"properties": [
|
|
319
|
+
"display",
|
|
320
|
+
"flex",
|
|
321
|
+
"flex-basis",
|
|
322
|
+
"flex-direction",
|
|
323
|
+
"flex-flow",
|
|
324
|
+
"flex-grow",
|
|
325
|
+
"flex-shrink",
|
|
326
|
+
"flex-wrap",
|
|
327
|
+
"grid",
|
|
328
|
+
"grid-area",
|
|
329
|
+
"grid-auto-rows",
|
|
330
|
+
"grid-auto-columns",
|
|
331
|
+
"grid-auto-flow",
|
|
332
|
+
"grid-gap",
|
|
333
|
+
"grid-row",
|
|
334
|
+
"grid-row-start",
|
|
335
|
+
"grid-row-end",
|
|
336
|
+
"grid-row-gap",
|
|
337
|
+
"grid-column",
|
|
338
|
+
"grid-column-start",
|
|
339
|
+
"grid-column-end",
|
|
340
|
+
"grid-column-gap",
|
|
341
|
+
"grid-template",
|
|
342
|
+
"grid-template-areas",
|
|
343
|
+
"grid-template-rows",
|
|
344
|
+
"grid-template-columns",
|
|
345
|
+
"gap",
|
|
346
|
+
"align-content",
|
|
347
|
+
"align-items",
|
|
348
|
+
"align-self",
|
|
349
|
+
"justify-content",
|
|
350
|
+
"justify-items",
|
|
351
|
+
"justify-self",
|
|
352
|
+
"order",
|
|
353
|
+
"float",
|
|
354
|
+
"clear",
|
|
355
|
+
"box-sizing",
|
|
356
|
+
"width",
|
|
357
|
+
"min-width",
|
|
358
|
+
"max-width",
|
|
359
|
+
"height",
|
|
360
|
+
"min-height",
|
|
361
|
+
"max-height",
|
|
362
|
+
"margin",
|
|
363
|
+
"margin-top",
|
|
364
|
+
"margin-right",
|
|
365
|
+
"margin-bottom",
|
|
366
|
+
"margin-left",
|
|
367
|
+
"padding",
|
|
368
|
+
"padding-top",
|
|
369
|
+
"padding-right",
|
|
370
|
+
"padding-bottom",
|
|
371
|
+
"padding-left",
|
|
372
|
+
"border",
|
|
373
|
+
"border-color",
|
|
374
|
+
"border-style",
|
|
375
|
+
"border-width",
|
|
376
|
+
"border-top",
|
|
377
|
+
"border-top-color",
|
|
378
|
+
"border-top-width",
|
|
379
|
+
"border-top-style",
|
|
380
|
+
"border-right",
|
|
381
|
+
"border-right-color",
|
|
382
|
+
"border-right-width",
|
|
383
|
+
"border-right-style",
|
|
384
|
+
"border-bottom",
|
|
385
|
+
"border-bottom-color",
|
|
386
|
+
"border-bottom-width",
|
|
387
|
+
"border-bottom-style",
|
|
388
|
+
"border-left",
|
|
389
|
+
"border-left-color",
|
|
390
|
+
"border-left-width",
|
|
391
|
+
"border-left-style",
|
|
392
|
+
"border-radius",
|
|
393
|
+
"border-top-left-radius",
|
|
394
|
+
"border-top-right-radius",
|
|
395
|
+
"border-bottom-right-radius",
|
|
396
|
+
"border-bottom-left-radius",
|
|
397
|
+
"border-image",
|
|
398
|
+
"border-image-source",
|
|
399
|
+
"border-image-slice",
|
|
400
|
+
"border-image-width",
|
|
401
|
+
"border-image-outset",
|
|
402
|
+
"border-image-repeat",
|
|
403
|
+
"border-collapse",
|
|
404
|
+
"border-spacing",
|
|
405
|
+
"object-fit",
|
|
406
|
+
"object-position",
|
|
407
|
+
"overflow",
|
|
408
|
+
"overflow-x",
|
|
409
|
+
"overflow-y"
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"emptyLineBefore": "always",
|
|
414
|
+
"groupName": "typography",
|
|
415
|
+
"properties": [
|
|
416
|
+
"color",
|
|
417
|
+
"font",
|
|
418
|
+
"font-weight",
|
|
419
|
+
"font-size",
|
|
420
|
+
"font-family",
|
|
421
|
+
"font-style",
|
|
422
|
+
"font-variant",
|
|
423
|
+
"font-size-adjust",
|
|
424
|
+
"font-stretch",
|
|
425
|
+
"font-effect",
|
|
426
|
+
"font-emphasize",
|
|
427
|
+
"font-emphasize-position",
|
|
428
|
+
"font-emphasize-style",
|
|
429
|
+
"font-smooth",
|
|
430
|
+
"line-height",
|
|
431
|
+
"direction",
|
|
432
|
+
"letter-spacing",
|
|
433
|
+
"white-space",
|
|
434
|
+
"text-align",
|
|
435
|
+
"text-align-last",
|
|
436
|
+
"text-transform",
|
|
437
|
+
"text-decoration",
|
|
438
|
+
"text-emphasis",
|
|
439
|
+
"text-emphasis-color",
|
|
440
|
+
"text-emphasis-style",
|
|
441
|
+
"text-emphasis-position",
|
|
442
|
+
"text-indent",
|
|
443
|
+
"text-justify",
|
|
444
|
+
"text-outline",
|
|
445
|
+
"text-wrap",
|
|
446
|
+
"text-overflow",
|
|
447
|
+
"text-overflow-ellipsis",
|
|
448
|
+
"text-overflow-mode",
|
|
449
|
+
"text-orientation",
|
|
450
|
+
"text-shadow",
|
|
451
|
+
"vertical-align",
|
|
452
|
+
"word-wrap",
|
|
453
|
+
"word-break",
|
|
454
|
+
"word-spacing",
|
|
455
|
+
"overflow-wrap",
|
|
456
|
+
"tab-size",
|
|
457
|
+
"hyphens",
|
|
458
|
+
"unicode-bidi",
|
|
459
|
+
"columns",
|
|
460
|
+
"column-count",
|
|
461
|
+
"column-fill",
|
|
462
|
+
"column-gap",
|
|
463
|
+
"column-rule",
|
|
464
|
+
"column-rule-color",
|
|
465
|
+
"column-rule-style",
|
|
466
|
+
"column-rule-width",
|
|
467
|
+
"column-span",
|
|
468
|
+
"column-width",
|
|
469
|
+
"page-break-after",
|
|
470
|
+
"page-break-before",
|
|
471
|
+
"page-break-inside",
|
|
472
|
+
"src"
|
|
473
|
+
]
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"emptyLineBefore": "always",
|
|
477
|
+
"groupName": "visual",
|
|
478
|
+
"properties": [
|
|
479
|
+
"list-style",
|
|
480
|
+
"list-style-position",
|
|
481
|
+
"list-style-type",
|
|
482
|
+
"list-style-image",
|
|
483
|
+
"table-layout",
|
|
484
|
+
"empty-cells",
|
|
485
|
+
"caption-side",
|
|
486
|
+
"background",
|
|
487
|
+
"background-color",
|
|
488
|
+
"background-image",
|
|
489
|
+
"background-repeat",
|
|
490
|
+
"background-position",
|
|
491
|
+
"background-position-x",
|
|
492
|
+
"background-position-y",
|
|
493
|
+
"background-size",
|
|
494
|
+
"background-clip",
|
|
495
|
+
"background-origin",
|
|
496
|
+
"background-attachment",
|
|
497
|
+
"background-blend-mode",
|
|
498
|
+
"outline",
|
|
499
|
+
"outline-width",
|
|
500
|
+
"outline-style",
|
|
501
|
+
"outline-color",
|
|
502
|
+
"outline-offset",
|
|
503
|
+
"box-shadow",
|
|
504
|
+
"box-decoration-break",
|
|
505
|
+
"transform",
|
|
506
|
+
"transform-origin",
|
|
507
|
+
"transform-style",
|
|
508
|
+
"backface-visibility",
|
|
509
|
+
"perspective",
|
|
510
|
+
"perspective-origin",
|
|
511
|
+
"visibility",
|
|
512
|
+
"cursor",
|
|
513
|
+
"opacity",
|
|
514
|
+
"filter",
|
|
515
|
+
"isolation",
|
|
516
|
+
"backdrop-filter",
|
|
517
|
+
"mix-blend-mode"
|
|
518
|
+
]
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"emptyLineBefore": "always",
|
|
522
|
+
"groupName": "animation",
|
|
523
|
+
"properties": [
|
|
524
|
+
"transition",
|
|
525
|
+
"transition-delay",
|
|
526
|
+
"transition-timing-function",
|
|
527
|
+
"transition-duration",
|
|
528
|
+
"transition-property",
|
|
529
|
+
"animation",
|
|
530
|
+
"animation-name",
|
|
531
|
+
"animation-duration",
|
|
532
|
+
"animation-play-state",
|
|
533
|
+
"animation-timing-function",
|
|
534
|
+
"animation-delay",
|
|
535
|
+
"animation-iteration-count",
|
|
536
|
+
"animation-direction",
|
|
537
|
+
"animation-fill-mode"
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"emptyLineBefore": "always",
|
|
542
|
+
"groupName": "misc",
|
|
543
|
+
"properties": [
|
|
544
|
+
"appearance",
|
|
545
|
+
"content",
|
|
546
|
+
"clip",
|
|
547
|
+
"clip-path",
|
|
548
|
+
"counter-reset",
|
|
549
|
+
"counter-increment",
|
|
550
|
+
"resize",
|
|
551
|
+
"user-select",
|
|
552
|
+
"nav-index",
|
|
553
|
+
"nav-up",
|
|
554
|
+
"nav-right",
|
|
555
|
+
"nav-down",
|
|
556
|
+
"nav-left",
|
|
557
|
+
"pointer-events",
|
|
558
|
+
"quotes",
|
|
559
|
+
"touch-action",
|
|
560
|
+
"will-change",
|
|
561
|
+
"zoom",
|
|
562
|
+
"fill",
|
|
563
|
+
"fill-rule",
|
|
564
|
+
"clip-rule",
|
|
565
|
+
"stroke"
|
|
566
|
+
]
|
|
567
|
+
}
|
|
568
|
+
]
|
|
327
569
|
};
|
|
570
|
+
|
|
571
|
+
export default config;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davidsneighbour/stylelint-config",
|
|
3
3
|
"description": "Stylelint configuration for use in @davidsneighbour projects.",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.17",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "davidsneighbour/configurations",
|
|
7
7
|
"author": {
|
|
@@ -12,15 +12,21 @@
|
|
|
12
12
|
"bugs": "https://github.com/davidsneighbour/configurations/issues",
|
|
13
13
|
"homepage": "https://github.com/davidsneighbour/configurations/blob/main/docs/stylelint.md",
|
|
14
14
|
"dependencies": {
|
|
15
|
+
"postcss": "^8.4.21",
|
|
16
|
+
"postcss-scss": "^4.0.6",
|
|
15
17
|
"stylelint": "15.2.0",
|
|
16
|
-
"stylelint-config-sass-guidelines": "9.0.1",
|
|
17
18
|
"stylelint-config-standard": "30.0.1",
|
|
18
19
|
"stylelint-no-unsupported-browser-features": "6.1.0",
|
|
19
|
-
"stylelint-order": "6.0.2"
|
|
20
|
+
"stylelint-order": "6.0.2",
|
|
21
|
+
"stylelint-scss": "^4.4.0"
|
|
20
22
|
},
|
|
21
23
|
"scripts": {
|
|
22
24
|
"fixpack": "fixpack"
|
|
23
25
|
},
|
|
24
26
|
"main": "index.js",
|
|
25
|
-
"
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18.12.1",
|
|
29
|
+
"npm": ">=8.19.2"
|
|
30
|
+
},
|
|
31
|
+
"gitHead": "832915fd27e2d23f618c615ea5a9a931a3af948d"
|
|
26
32
|
}
|