-
Notifications
You must be signed in to change notification settings - Fork 19
/
.stylelintrc
66 lines (66 loc) · 1.22 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
{
"defaultSeverity": "error",
"extends": [
"stylelint-config-standard",
"stylelint-config-standard-scss",
"stylelint-config-recommended-vue",
"stylelint-config-html",
"stylelint-config-recess-order"
],
"plugins": [
"stylelint-order"
],
"rules": {
"selector-class-pattern": [
"^([#a-z][$#{}a-z0-9]*)((-{1,2}|_{2})[$#{}a-z0-9]+)*$",
{
"message": "Expected class selector to be kebab-case"
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"::v-deep",
"deep",
"v-deep"
]
}
],
"selector-type-no-unknown": [
true,
{
"ignoreTypes": [
"page",
"rich-text",
"scroll-view"
]
}
],
"unit-no-unknown":[
true,
{
"ignoreUnits": ["rpx","upx"]
}
],
"no-descending-specificity": null,
"no-empty-source": null,
"keyframes-name-pattern": "^[a-z]+([A-Z][a-z]*)*$"
},
"ignoreFiles": [
"node_modules",
"dist",
"public",
"output",
"coverage",
"temp",
"*.js",
"*.cjs",
"*.mjs",
"*.ts",
"*.tsx",
"*.svg",
"*.gif",
"*.md"
]
}