-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc
53 lines (53 loc) · 1.49 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
{
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
],
"rules": {
"block-no-empty": true,
"color-no-invalid-hex": true,
"function-calc-no-unspaced-operator": true,
"max-empty-lines":[1, {
"ignore": ["comments"]
}],
"declaration-block-single-line-max-declarations": null,
"unit-no-unknown": [
true,
{
"ignoreUnits": ["/rpx/"]
}
],
"selector-type-no-unknown": [
true,
{
"ignore": ["custom-elements"],
"ignoreTypes": ["page", "text", "view", "swiper", "swiper-item"]
}
],
"keyframe-declaration-no-important": null,
"comment-no-empty": true,
"no-extra-semicolons": true,
"color-named": ["never", {
"ignore": ["inside-function"]
}],
"color-hex-length": "long",
"color-hex-case": "upper",
"value-list-comma-space-before": "never",
"value-list-comma-space-after": "always",
"selector-combinator-space-after": "always",
"block-opening-brace-space-before": "always",
"declaration-colon-space-after": "always",
"no-descending-specificity": null,
"at-rule-no-unknown": null,
"length-zero-no-unit": true,
"comment-empty-line-before": ["never", {
"except": ["first-nested"],
"ignore": ["after-comment", "stylelint-commands"]
}],
"declaration-empty-line-before": "never",
"selector-pseudo-element-colon-notation": "double",
"no-duplicate-selectors": [true, {
"disallowInList": false
}]
}
}