2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Enforce lowercase class name in .stylelintrc (#27668)

This commit is contained in:
Christian Oliff
2018-11-17 21:01:16 +09:00
committed by XhmikosR
parent 75526bf2d0
commit 4734a926e9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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 -1
View File
@@ -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; }