diff options
author | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-07 11:46:49 +0200 |
---|---|---|
committer | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-08 20:43:55 +0200 |
commit | 7de9df5370fde450c84800f5c830e6f59d1336c3 (patch) | |
tree | df6c01816ebe04f9153828592ece370e68399e63 | |
parent | 98904ad67cadb88747724e9864b3a5b2f2fee475 (diff) |
added a stylelint config (from app-tutorial)
Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
-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 000000000..75c793f63 --- /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'], +} |