From 7de9df5370fde450c84800f5c830e6f59d1336c3 Mon Sep 17 00:00:00 2001 From: Jonathan Treffler Date: Fri, 7 Aug 2020 11:46:49 +0200 Subject: added a stylelint config (from app-tutorial) Signed-off-by: Jonathan Treffler --- stylelint.config.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 stylelint.config.js 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'], +} -- cgit v1.2.3