-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
73 lines (73 loc) · 1.71 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
67
68
69
70
71
72
73
{
"extends": "stylelint-config-standard",
"rules": {
"color-hex-case": "upper",
"color-hex-length": "long",
"font-family-no-missing-generic-family-keyword": null,
"selector-type-no-unknown": [
true,
{
"ignoreTypes": [
"page",
"view",
"scroll-view",
"swiper",
"movable-area",
"movable-view",
"cover-view",
"text",
"image",
"navigator"
]
}
],
"unit-no-unknown": [
true,
{
"ignoreUnits": [
"rpx"
]
}
],
"block-no-empty": null,
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always",
{
"ignore": [
"stylelint-commands",
"after-comment"
]
}
],
"declaration-colon-space-after": "always",
"indentation": [
4
],
"max-empty-lines": 2,
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"unit-whitelist": [
"em",
"rem",
"%",
"px",
"ms",
"s",
"deg",
"rpx",
"pt",
"vw",
"vh"
]
}
}