mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
Enforce lowercase class name in .stylelintrc (#27668)
This commit is contained in:
parent
75526bf2d0
commit
4734a926e9
@ -294,6 +294,7 @@
|
||||
"scss/operator-no-newline-before": true,
|
||||
"scss/operator-no-unspaced": true,
|
||||
"selector-attribute-quotes": "always",
|
||||
"selector-class-pattern": "^[a-z][a-z0-9\\-]*[a-z0-9]$",
|
||||
"selector-list-comma-newline-after": "always",
|
||||
"selector-list-comma-newline-before": "never-multi-line",
|
||||
"selector-list-comma-space-after": "always-single-line",
|
||||
|
@ -1,4 +1,4 @@
|
||||
// stylelint-disable declaration-block-single-line-max-declarations
|
||||
// stylelint-disable declaration-block-single-line-max-declarations, selector-class-pattern
|
||||
|
||||
.hll { background-color: #ffc; }
|
||||
.c { color: #999; }
|
||||
|
Loading…
Reference in New Issue
Block a user