diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-09-03 17:55:21 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-09-03 17:55:21 +0300 |
commit | f4fc7525015168ed74a75846dc43210a69f52c8c (patch) | |
tree | bf4fa7bfe6443f7b8979d8aaeab42bb22b93c077 /stylelint.config.js | |
parent | dad6b6e2033ea1c2769fd8174bde8d184f04de52 (diff) |
Add stylelint configv0.7.0
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'stylelint.config.js')
-rw-r--r-- | stylelint.config.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/stylelint.config.js b/stylelint.config.js new file mode 100644 index 0000000..d68fda1 --- /dev/null +++ b/stylelint.config.js @@ -0,0 +1,32 @@ +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', + 'selector-pseudo-element-no-unknown': [ + true, + { + ignorePseudoElements: ['v-deep'] + } + ] + }, + plugins: ['stylelint-scss'] +} |