Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Oliff <christianoliff@yahoo.com>2018-11-17 15:01:16 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-17 15:01:16 +0300
commit4734a926e9a2e97c94cee848253115b539b72e15 (patch)
tree5c235e4245ba788ba88a6e7afce29d5063508286 /.stylelintrc
parent75526bf2d048e1b102138754ccbbcebe9a03cf6e (diff)
Enforce lowercase class name in .stylelintrc (#27668)
Diffstat (limited to '.stylelintrc')
-rw-r--r--.stylelintrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.stylelintrc b/.stylelintrc
index e3cb0d7cc4..dac9edbf43 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -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",