-
Notifications
You must be signed in to change notification settings - Fork 77
/
.stylelintrc.json
106 lines (106 loc) · 2.08 KB
/
.stylelintrc.json
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-idiomatic-order",
"stylelint-config-prettier"
],
"ignoreFiles": [
"node_modules/**",
"dist/**"
],
"rules": {
"order/properties-alphabetical-order": null,
"font-family-name-quotes": "always-where-recommended",
"function-url-quotes": [
"always",
{
"except": [
"empty"
]
}
],
"selector-attribute-quotes": "always",
"max-nesting-depth": 3,
"selector-max-compound-selectors": 3,
"selector-max-specificity": [
"0,3,2",
{
"ignoreSelectors": [
":not",
":hover",
":focus",
":active",
"/:host/",
"/:host::ng-deep/",
"/:host ::ng-deep/",
"::ng-deep"
]
}
],
"declaration-no-important": true,
"at-rule-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"property-no-vendor-prefix": [
true,
{
"ignoreProperties": [
"appearance"
]
}
],
"selector-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"no-empty-source": null,
"selector-class-pattern": "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
"selector-id-pattern": "j-[a-z]+",
"selector-max-id": 0,
"selector-no-qualifying-type": [
true,
{
"ignore": [
"attribute",
"class",
"id"
]
}
],
"selector-max-universal": 0,
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": [
"ng-deep"
]
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"host"
]
}
],
"selector-type-no-unknown": [
true,
{
"ignoreTypes": [
"/^app-/",
"/^router-/"
]
}
],
"unit-allowed-list": [
"px",
"%",
"em",
"rem",
"vw",
"vh",
"deg",
"s",
"ms"
]
}
}