Skip to content

Commit eba2006

Browse files
Stormhegthibaudcolas
authored andcommitted
Ignore stylelint warning order/order under most circumstances
1 parent 718ddf8 commit eba2006

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.stylelintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,12 @@ module.exports = {
8080
],
8181
// Allow use of 'right', 'left' and 'text-transform'
8282
'property-disallowed-list': null,
83+
// Refined ordering to align with media mixin usage - see https://github.com/wagtail/stylelint-config-wagtail/issues/37
8384
'order/order': [
8485
'dollar-variables',
8586
'custom-properties',
87+
// Disabled until we migrate existing code.
88+
// { type: 'at-rule', hasBlock: true }, // @-rules that have no nesting.
8689
'declarations',
8790
],
8891
},

0 commit comments

Comments
 (0)