@itcase/lint 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,9 +7,9 @@ const customGroups = {
|
|
|
7
7
|
description: '^description.*',
|
|
8
8
|
status: '^status.*',
|
|
9
9
|
fill: '^fill.*',
|
|
10
|
-
fillHover: '
|
|
11
|
-
fillActive: '
|
|
12
|
-
fillDisabled: '
|
|
10
|
+
fillHover: 'fillHover.*',
|
|
11
|
+
fillActive: 'fillActive.*',
|
|
12
|
+
fillDisabled: 'fillDisabled.*',
|
|
13
13
|
border: '^border.*',
|
|
14
14
|
shadow: '^shadow.*',
|
|
15
15
|
template: '^template.*',
|
|
@@ -17,20 +17,18 @@ const customGroups = {
|
|
|
17
17
|
font: '^font.*',
|
|
18
18
|
text: '^text.*',
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
info: '^.*(I|i)nfo.*',
|
|
33
|
-
disabled: '^.*(D|d)isabled.*',
|
|
20
|
+
hasAccent: '^.*(A|a)ccent.*',
|
|
21
|
+
hasPrimary: '^.*(P|p)rimary.*',
|
|
22
|
+
hasSecondary: '^.*(S|s)econdary.*',
|
|
23
|
+
hasTertiary: '^.*(T|t)ertiary.*',
|
|
24
|
+
hasQuaternary: '^.*(Q|q)uaternary.*',
|
|
25
|
+
hasSurface: '^.*(S|s)urface.*',
|
|
26
|
+
hasError: '^(?!on).*(E|e)rror.*',
|
|
27
|
+
hasWarning: '^.*(W|w)arning.*',
|
|
28
|
+
hasSuccess: '^(?!on).*(S|s)uccess.*',
|
|
29
|
+
hasDanger: '^.*(D|d)anger.*',
|
|
30
|
+
hasInfo: '^.*(I|i)nfo.*',
|
|
31
|
+
hasDisabled: '^.*(D|d)isabled.*',
|
|
34
32
|
|
|
35
33
|
min: '^min.*',
|
|
36
34
|
max: '^max.*',
|
|
@@ -171,10 +171,8 @@ const props = [
|
|
|
171
171
|
'includeFontPadding',
|
|
172
172
|
'writingDirection',
|
|
173
173
|
|
|
174
|
-
// State
|
|
175
|
-
'custom',
|
|
176
|
-
|
|
177
174
|
// Colors
|
|
175
|
+
'accent',
|
|
178
176
|
'primary',
|
|
179
177
|
'secondary',
|
|
180
178
|
'tertiary',
|
|
@@ -186,7 +184,21 @@ const props = [
|
|
|
186
184
|
'success',
|
|
187
185
|
'danger',
|
|
188
186
|
'disabled',
|
|
189
|
-
'
|
|
187
|
+
'hasAccent',
|
|
188
|
+
'hasPrimary',
|
|
189
|
+
'hasSecondary',
|
|
190
|
+
'hasTertiary',
|
|
191
|
+
'hasQuaternary',
|
|
192
|
+
'hasSurface',
|
|
193
|
+
'hasError',
|
|
194
|
+
'hasWarning',
|
|
195
|
+
'hasInfo',
|
|
196
|
+
'hasSuccess',
|
|
197
|
+
'hasDanger',
|
|
198
|
+
'hasDisabled',
|
|
199
|
+
|
|
200
|
+
// State
|
|
201
|
+
'custom',
|
|
190
202
|
|
|
191
203
|
// State
|
|
192
204
|
'error500',
|