@davidsneighbour/stylelint-config 5.0.10 → 5.0.16

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