forked from DevCloudFE/react-devui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
43 lines (43 loc) · 1.15 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": {
"custom-property-pattern": null,
"no-invalid-position-at-import-rule": null,
"selector-class-pattern": null
},
"overrides": [
{
"files": ["*.scss", "**/*.scss"],
"rules": {
"function-no-unknown": null,
"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/"]
},
"annotation-no-unknown": [
true,
{
"ignoreAnnotations": ["default", "global"]
}
]
}
},
{
"files": ["*.html", "**/*.html"],
"customSyntax": "postcss-html"
},
{
"files": ["*.md", "**/*.md"],
"customSyntax": "postcss-markdown"
}
]
}