diff options
author | dartcafe <github@dartcafe.de> | 2020-01-03 16:03:14 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-01-03 16:03:14 +0300 |
commit | 88ddcdd4c825f477efda414b1a52c78d9f1fbc31 (patch) | |
tree | 08aa188135e1cf2c8f24e1ae8d2c5b1d063aed4f /.stylelintrc.js | |
parent | dad7a790691bcad3b12ff5a70e6fbaa4f4dc3ce9 (diff) |
dependency tidy and add stylelint
Diffstat (limited to '.stylelintrc.js')
-rw-r--r-- | .stylelintrc.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.stylelintrc.js b/.stylelintrc.js new file mode 100644 index 00000000..b9937526 --- /dev/null +++ b/.stylelintrc.js @@ -0,0 +1,26 @@ +module.exports = { + extends: 'stylelint-config-recommended-scss', + rules: { + indentation: 'tab', + 'selector-type-no-unknown': null, + 'number-leading-zero': null, + 'rule-empty-line-before': [ + 'always', + { + ignore: ['after-comment', 'inside-block'] + } + ], + 'declaration-empty-line-before': [ + 'never', + { + ignore: ['after-declaration'] + } + ], + 'comment-empty-line-before': null, + 'selector-type-case': null, + 'selector-list-comma-newline-after': null, + 'no-descending-specificity': null, + 'string-quotes': 'single' + }, + plugins: ['stylelint-scss'] +} |