-
Notifications
You must be signed in to change notification settings - Fork 56
/
.stylelintrc
49 lines (49 loc) · 1.09 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
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"plugins": ["stylelint-order", "stylelint-config-rational-order/plugin"],
"rules": {
"order/properties-order": [[], { "severity": "warning" }],
"declaration-empty-line-before": [
"never",
{
"except": ["after-comment", "after-declaration", "first-nested"],
"ignore": [
"after-comment",
"after-declaration",
"first-nested",
"inside-single-line-block"
]
}
],
"plugin/rational-order": [
true,
{
"border-in-box-model": false,
"empty-line-between-groups": true,
"severity": "warning"
}
],
"unit-no-unknown": [
true,
{
"ignoreUnits": ["rpx", "upx"]
}
],
"selector-type-no-unknown": [
true,
{
"ignore": ["custom-elements"],
"ignoreTypes": [
"page",
"text",
"view",
"swiper",
"swiper-item",
"image",
"navigator"
]
}
],
"no-empty-source": null
}
}