Skip to content

Commit 4a562b4

Browse files
committed
Make stylelint rules stricter
1 parent 84c91f3 commit 4a562b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stylelint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ module.exports = {
1515
ignoreAtRules: ['mixin', 'define-mixin', 'if', 'else'],
1616
},
1717
],
18-
'custom-media-pattern': null,
19-
'custom-property-pattern': null,
18+
'custom-media-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
19+
'custom-property-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
2020
'comment-empty-line-before': 'never',
2121
'declaration-block-no-duplicate-properties': [
2222
true,

0 commit comments

Comments
 (0)