-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
66 lines (66 loc) · 1.27 KB
/
.stylelintrc
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"extends": "stylelint-config-standard-scss",
"plugins": [
"stylelint-order"
],
"rules": {
"alpha-value-notation": "number",
"color-function-notation": "legacy",
"color-no-invalid-hex": true,
"max-line-length": [
120,
{
"ignorePattern": "/(filter|transition): /"
}
],
"order/properties-alphabetical-order": true,
"selector-class-pattern": [
"^([a-z][a-z0-9]*)(-(-*)[a-z0-9]+)*$",
{
"resolveNestedSelectors": true,
"severity": "warning"
}
],
"selector-id-pattern": [
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{
"severity": "warning"
}
],
"scss/at-extend-no-missing-placeholder": null,
"scss/at-if-no-null": [
true,
{
"severity": "warning"
}
],
"scss/no-global-function-names": [
true,
{
"severity": "warning"
}
]
},
"overrides": [
{
"files": [
"css/**/*.css",
"_sass/**/*.scss"
],
"rules": {
"no-descending-specificity": [
true,
{
"severity": "warning"
}
],
"no-duplicate-selectors": [
true,
{
"severity": "warning"
}
]
}
}
]
}