-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.json
153 lines (139 loc) · 4.15 KB
/
base.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"$schema": "https://json.schemastore.org/stylelintrc.json",
"extends": ["stylelint-config-standard", "stylelint-config-recess-order"],
"plugins": [
"stylelint-declaration-strict-value",
"stylelint-declaration-block-no-ignored-properties",
"stylelint-group-selectors",
"stylelint-high-performance-animation",
"@isnotdefined/stylelint-plugin",
"stylelint-plugin-defensive-css",
"stylelint-plugin-logical-css",
"stylelint-rem-over-px",
"stylelint-scales"
],
"rules": {
"color-named": "never",
"declaration-no-important": true,
"font-weight-notation": "numeric",
"function-url-no-scheme-relative": true,
"max-nesting-depth": 5,
"no-unknown-animations": true,
"number-max-precision": 2,
"selector-max-attribute": 5,
"selector-max-class": 5,
"selector-max-combinators": 5,
"selector-max-compound-selectors": 5,
"selector-max-id": 0,
"selector-max-pseudo-class": 5,
"selector-max-specificity": "0,5,5",
"selector-max-type": 5,
"selector-max-universal": 0,
"selector-pseudo-element-no-unknown": true,
"time-min-milliseconds": [100, { "ignore": ["delay"] }],
"selector-no-qualifying-type": true,
"block-no-empty": [true, { "ignore": ["comments"] }],
"no-duplicate-selectors": [true, { "disallowInList": true }],
"media-feature-name-value-no-unknown": true,
"selector-pseudo-class-no-unknown": [
true,
{ "ignorePseudoClasses": ["global", "export"] }
],
"declaration-property-unit-allowed-list": {
"/^font-size$|^font$/": ["rem"],
"letter-spacing": ["rem"],
"line-height": [],
"/radius$/": ["rem", "%"],
"/^inset|gap|^margin|^padding/": ["rem"],
"word-spacing": ["rem"],
"/^animation/": "s"
},
"function-url-scheme-allowed-list": ["data", "/^https/"],
"unit-disallowed-list": ["cm", "mm", "Q", "in", "pc", "pt", "em"],
"alpha-value-notation": "percentage",
"scale-unlimited/declaration-strict-value": [
"/color$/",
{
"ignoreVariables": true,
"ignoreFunctions": false,
"ignoreKeywords": ["currentColor", "transparent", "inherit"],
"disableFix": true
}
],
"plugin/declaration-block-no-ignored-properties": true,
"plugin/stylelint-group-selectors": true,
"plugin/no-low-performance-animation-properties": true,
"@isnotdefined/no-obsolete": true,
"plugin/use-defensive-css": [
true,
{
"accidental-hover": true,
"background-repeat": true,
"flex-wrapping": true,
"scroll-chaining": true,
"scrollbar-gutter": true,
"vendor-prefix-grouping": true,
"custom-property-fallbacks": false
}
],
"plugin/use-logical-properties-and-values": [
true,
{
"ignore": ["overflow-y", "overflow-x"]
}
],
"plugin/use-logical-units": true,
"rem-over-px/rem-over-px": true,
"scales/alpha-values": [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100],
"scales/border-widths": [
{ "scale": [1, 2], "units": ["px"] },
{
"scale": [0.25, 0.5, 1],
"units": ["rem"]
}
],
"scales/font-sizes": [
{
"scale": [0.8, 0.9, 1, 1.25, 1.5, 2, 3, 4, 5, 6, 7, 8, 9, 10],
"units": ["rem"]
}
],
"scales/font-weights": [100, 200, 400, 700, 900],
"scales/letter-spacings": [
{
"scale": [0.05, 0.1, 0.15, 0.2],
"units": ["rem"]
}
],
"scales/line-heights": [1.25, 1.5, 1.75, 2],
"scales/radii": [
{ "scale": [0.25, 0.5, 1], "units": ["rem"] },
{
"scale": [25, 50],
"units": ["%"]
}
],
"scales/sizes": [
{
"scale": [10, 20, 25, 30, 40, 50, 60, 70, 75, 80, 90, 100],
"units": ["%"]
}
],
"scales/space": [
{
"scale": [-1000, 0.25, 0.5, 0.75, 1, 2, 4],
"units": ["rem"]
}
],
"scales/word-spacings": [
{
"scale": [0.1, 0.2],
"units": ["rem"]
}
],
"scales/z-indices": [-1, 1, 2, 3, 4, 5, 1000000]
},
"reportNeedlessDisables": true,
"reportInvalidScopeDisables": true,
"reportDescriptionlessDisables": true
}