diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-26 11:22:13 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-26 11:22:13 +0200 |
commit | d4f5fe29e838468855169fd511eb1505f660d4c4 (patch) | |
tree | ae20526f84fa45b4c46ea0823da557dceee9cd4e /stylelint.config.js | |
parent | a3cd3d39b317dc6ff114b6c251f71bba5d254259 (diff) |
Migrate stylelint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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 00000000..75c793f6 --- /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'], +} |