diff options
author | sualko <klaus@jsxc.org> | 2018-10-17 14:33:44 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2018-10-17 14:33:44 +0300 |
commit | 8bbe5fb6a31e664ab9a502ff863263a60489867f (patch) | |
tree | 47cc708f9803b973ebe520c11fe62c11e345cc54 /.stylelintrc | |
parent | 8d04c91ee21ba45c51b5e7391f5182f214e196ee (diff) |
refactor: split scss file
Diffstat (limited to '.stylelintrc')
-rw-r--r-- | .stylelintrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 0000000..a579427 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,19 @@ +{ + "extends": "stylelint-config-sass-guidelines", + "rules": { + "string-quotes": "double", + "selector-max-id": 1, + "max-nesting-depth": 5, + "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)" + } + ] + } +} |