Skip to content

Commit c368ccf

Browse files
colinrotherhamowenatgov
authored andcommitted
Add Stylelint order missing properties
1 parent cd54e2a commit c368ccf

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

stylelint.config.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = {
5959
[
6060
{
6161
emptyLineBefore: 'threshold',
62-
properties: ['content', 'quotes']
62+
properties: ['content', 'content-visibility', 'quotes']
6363
},
6464
{
6565
// Box-sizing - Allow here until global is decided
@@ -206,6 +206,8 @@ module.exports = {
206206
'border-bottom-color',
207207
'border-left-color',
208208

209+
'border-image',
210+
209211
'outline',
210212
'outline-color',
211213
'outline-offset',
@@ -215,7 +217,7 @@ module.exports = {
215217
},
216218
{
217219
emptyLineBefore: 'threshold',
218-
properties: ['opacity']
220+
properties: ['pointer-events', 'opacity']
219221
},
220222
{
221223
// Color has been moved to ensure it appears before background
@@ -260,6 +262,8 @@ module.exports = {
260262
'font-variant',
261263
'font-weight',
262264
'font-emphasize',
265+
'font-display',
266+
'src',
263267

264268
'letter-spacing',
265269
'line-height',
@@ -268,6 +272,9 @@ module.exports = {
268272
'text-align',
269273
'text-align-last',
270274
'text-decoration',
275+
'text-decoration-thickness',
276+
'text-decoration-skip-ink',
277+
'text-decoration-skip',
271278
'text-indent',
272279
'text-justify',
273280
'text-overflow',
@@ -280,18 +287,21 @@ module.exports = {
280287
'text-wrap',
281288
'word-wrap',
282289
'word-break',
290+
'overflow-wrap',
283291

284292
'text-emphasis',
285293

286294
'vertical-align',
287295
'white-space',
288296
'word-spacing',
289-
'hyphens'
297+
'hyphens',
298+
'user-select',
299+
'forced-color-adjust'
290300
]
291301
},
292302
{
293303
emptyLineBefore: 'threshold',
294-
properties: ['src', 'cursor', '-webkit-appearance']
304+
properties: ['cursor', '-webkit-appearance']
295305
}
296306
],
297307
{

0 commit comments

Comments
 (0)