Skip to content

Commit a35497f

Browse files
author
Julien Veyssier
committedOct 14, 2020
add stylelint config
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
1 parent 39223f0 commit a35497f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
 

‎stylelint.config.js

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = {
2+
extends: 'stylelint-config-recommended-scss',
3+
rules: {
4+
indentation: 'tab',
5+
'selector-type-no-unknown': null,
6+
'number-leading-zero': null,
7+
'rule-empty-line-before': [
8+
'always',
9+
{
10+
ignore: ['after-comment', 'inside-block'],
11+
},
12+
],
13+
'declaration-empty-line-before': [
14+
'never',
15+
{
16+
ignore: ['after-declaration'],
17+
},
18+
],
19+
'comment-empty-line-before': null,
20+
'selector-type-case': null,
21+
'selector-list-comma-newline-after': null,
22+
'no-descending-specificity': null,
23+
'string-quotes': 'single',
24+
'selector-pseudo-element-no-unknown': [
25+
true,
26+
{
27+
ignorePseudoElements: ['v-deep'],
28+
},
29+
],
30+
},
31+
plugins: ['stylelint-scss'],
32+
}

0 commit comments

Comments
 (0)
Please sign in to comment.