-
Notifications
You must be signed in to change notification settings - Fork 3
/
.stylelintrc
56 lines (56 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
54
55
56
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-prettier"
],
"rules": {
"font-family-name-quotes": "always-where-recommended",
"selector-attribute-quotes": "always",
"max-nesting-depth": 5,
"selector-max-compound-selectors": 5,
"selector-max-specificity": "0,4,3",
"declaration-no-important": true,
"at-rule-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"no-empty-source": null,
"selector-class-pattern": "[a-z-]+",
"selector-id-pattern": "[a-z-]+",
"selector-max-id": 0,
"selector-no-qualifying-type": true,
"selector-max-universal": 1,
"selector-type-no-unknown": [
true,
{
"ignore": ["custom-elements", "default-namespace"]
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": ["ng-deep"]
}
],
"unit-allowed-list": ["px", "%", "em", "rem", "vw", "vh", "deg", "s", "fr", "ms"],
"max-empty-lines": 2,
"max-line-length": null,
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"/^layer/",
"tailwind",
"apply",
"variants",
"responsive",
"screen",
]
}
],
"declaration-block-trailing-semicolon": null,
"no-descending-specificity": null,
}
}