-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.js
42 lines (42 loc) · 1.07 KB
/
.stylelintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = {
extends: [
// https://github.com/stylelint/stylelint-config-standard
'stylelint-config-standard',
//https://github.com/constverum/stylelint-config-rational-order
'stylelint-config-rational-order',
// https://github.com/shannonmoeller/stylelint-config-prettier
'stylelint-config-prettier'
],
plugins: [
// https://github.com/kristerkari/stylelint-scss#list-of-rules
'stylelint-scss',
// https://github.com/hudochenkov/stylelint-order
'stylelint-order',
'stylelint-config-rational-order/plugin'
],
rules: {
indentation: [
2,
{
baseIndentLevel: 0
}
],
'color-named': 'never',
'at-rule-no-unknown': null,
'declaration-empty-line-before': [
'always',
{
except: ['after-declaration'],
ignore: ['after-comment', 'first-nested', 'inside-single-line-block'],
severity: 'warning'
}
],
'rule-empty-line-before': [
'always',
{
ignore: ['after-comment', 'first-nested'],
severity: 'warning'
}
]
}
}