forked from AscensionGameDev/Intersect-Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
72 lines (72 loc) · 1.39 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
{
"extends": [
"stylelint-config-standard",
"stylelint-config-astro"
],
"plugins": [
"@isnotdefined/stylelint-plugin",
"stylelint-csstree-validator",
"stylelint-high-performance-animation",
"stylelint-order",
"stylelint-no-indistinguishable-colors",
"stylelint-no-unsupported-browser-features",
"stylelint-rem-over-px"
],
"rules": {
"@isnotdefined/no-disable": true,
"@isnotdefined/no-obsolete": true,
"@isnotdefined/unit-step": true,
"color-function-notation": "legacy",
"csstree/validator": true,
"order/order": [
"custom-properties",
"declarations"
],
"order/properties-alphabetical-order": true,
"plugin/no-low-performance-animation-properties": [
true,
{
"ignoreProperties": [
"background-color",
"border-color",
"border-radius",
"border-width",
"color",
"max-height",
"width"
]
}
],
"plugin/no-unsupported-browser-features": [
true,
{
"browsers": [
"> 1%",
"Last 2 versions",
"not dead",
"not op_mini all"
],
"ignore": [],
"ignorePartialSupport": true
}
],
"plugin/stylelint-no-indistinguishable-colors": true,
"rem-over-px/rem-over-px": true,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
],
"value-keyword-case": [
"lower",
{
"ignoreKeywords": [
"currentColor"
]
}
]
}
}