diff options
author | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-07 11:46:49 +0200 |
---|---|---|
committer | Simon Spannagel <simonspa@kth.se> | 2021-12-16 20:04:21 +0100 |
commit | 947f83fc20005206462a0efe9a12f8e6607d5a45 (patch) | |
tree | a23569b4e3d1f84679afd313773033c14e3389f7 | |
parent | 504128080e7d3ef25446e76edbf75c1e7ca8a5f9 (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'], +} |