diff options
author | sualko <klaus@jsxc.org> | 2018-07-19 16:56:53 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2018-07-19 16:56:53 +0300 |
commit | 18c7ed075a79d1ae03132efa93ea10ba29031067 (patch) | |
tree | 83deaf7110e760eea1b8fc6268bdefa5d148ea96 /.stylelintrc | |
parent | 1906c6714444537a8a5d0d102974efbd798fecb3 (diff) |
refactor styles
- start using BEM like syntax
- generate generic menu
Diffstat (limited to '.stylelintrc')
-rw-r--r-- | .stylelintrc | 9 |
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)" + } + ] } } |