summaryrefslogtreecommitdiffstats
path: root/stylelint.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'stylelint.config.js')
-rw-r--r--stylelint.config.js32
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'],
+}