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

github.com/jsxc/jsxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2018-07-19 16:56:53 +0300
committersualko <klaus@jsxc.org>2018-07-19 16:56:53 +0300
commit18c7ed075a79d1ae03132efa93ea10ba29031067 (patch)
tree83deaf7110e760eea1b8fc6268bdefa5d148ea96 /.stylelintrc
parent1906c6714444537a8a5d0d102974efbd798fecb3 (diff)
refactor styles
- start using BEM like syntax - generate generic menu
Diffstat (limited to '.stylelintrc')
-rw-r--r--.stylelintrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.stylelintrc b/.stylelintrc
index dcef97c2..a579427c 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -7,6 +7,13 @@
"selector-max-compound-selectors": 5,
"selector-no-qualifying-type": [true, {
"ignore": ["attribute", "class", "id"]
- }]
+ }],
+ "selector-class-pattern": [
+ "^[a-z0-9_\\-]+$",
+ {
+ "message":
+ "Selector should be written in lowercase with hyphens and underscores (selector-class-pattern)"
+ }
+ ]
}
}