summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Treffler <mail@jonathan-treffler.de>2020-08-07 11:46:49 +0200
committerJonathan Treffler <mail@jonathan-treffler.de>2020-08-08 20:43:55 +0200
commit7de9df5370fde450c84800f5c830e6f59d1336c3 (patch)
treedf6c01816ebe04f9153828592ece370e68399e63
parent98904ad67cadb88747724e9864b3a5b2f2fee475 (diff)
added a stylelint config (from app-tutorial)
Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
-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'],
+}