-
Notifications
You must be signed in to change notification settings - Fork 42
/
.stylelintrc
43 lines (43 loc) · 1.13 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
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recess-order",
"stylelint-config-recommended-scss",
"stylelint-config-prettier"
],
"rules": {
"import-notation": null,
"selector-class-pattern": null,
"block-no-empty": null,
"selector-not-notation": "simple"
},
"overrides": [
{
"files": ["*.scss", "**/*.scss"],
"rules": {
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
],
"declaration-property-value-allowed-list": {
"/color/": ["/var/", "/\\$/", "currentcolor", "transparent", "unset", "inherit"],
"font-size": ["/var/", "/\\$/", "/[0-9]+em$/", "unset", "inherit"],
"border-radius": ["/var/", "/\\$/", "50%", "0", "inherit"]
},
"declaration-property-value-disallowed-list": {
"transition": ["/all/", "/[0-9]ms/"]
}
}
},
{
"files": ["*.html", "**/*.html"],
"customSyntax": "postcss-html"
},
{
"files": ["*.md", "**/*.md"],
"customSyntax": "postcss-markdown"
}
]
}