@itcase/lint 1.1.55 → 1.1.57
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.
|
@@ -43,7 +43,11 @@ const customGroups = {
|
|
|
43
43
|
hasSurface: '^(?!is|on)\b.*(S|s)urface.*\b',
|
|
44
44
|
hasError: '^(?!is|on)\b.*(E|e)rror.*\b',
|
|
45
45
|
hasWarning: '^(?!is|on)\b.*(W|w)arning.*\b',
|
|
46
|
+
|
|
47
|
+
hasDefault: '^.(?!is|on)\b.*(D|d)efault.*\b',
|
|
48
|
+
|
|
46
49
|
hasRequire: '^(?!is|on)\b.*(T|t)ertiary.*\b',
|
|
50
|
+
|
|
47
51
|
hasSuccess: '^(?!is|on)(?!on)\b.*(S|s)uccess.*\b',
|
|
48
52
|
hasDanger: '^(?!is|on)\b.*(D|d)anger.*\b',
|
|
49
53
|
hasInfo: '^(?!is|on)\b.*(I|i)nfo.*\b',
|
|
@@ -62,6 +66,13 @@ const customGroups = {
|
|
|
62
66
|
hasInfoMuted: '^\b.*InfoMuted.*\b',
|
|
63
67
|
hasDisabledMuted: '^\b.*DisabledMuted.*\b',
|
|
64
68
|
|
|
69
|
+
hasValidation: '^.(?!is|on)\b.*(V|v)alidation.*\b',
|
|
70
|
+
hasFilled: '^.(?!is|on)\b.*(F|f)illed.*\b',
|
|
71
|
+
hasLoading: '^.(?!is|on)\b.*(L|l)oading.*\b',
|
|
72
|
+
hasServerError: '^.(?!is|on)\b.*(S|s)erverError.*\b',
|
|
73
|
+
hasServerErrorData: '^.(?!is|on)\b.*(S|s)erverErrorData.*\b',
|
|
74
|
+
hasInitialValues: '^.(?!is|on)\b.*(I|i)nitialValues.*\b',
|
|
75
|
+
|
|
65
76
|
min: '^min.*',
|
|
66
77
|
max: '^max.*',
|
|
67
78
|
|
|
@@ -115,23 +115,6 @@ const props = [
|
|
|
115
115
|
'borderColorActiveHover',
|
|
116
116
|
'borderColorDisabled',
|
|
117
117
|
|
|
118
|
-
`Default`,
|
|
119
|
-
`Require`,
|
|
120
|
-
`Validation`,
|
|
121
|
-
`Filled`,
|
|
122
|
-
`Loading`,
|
|
123
|
-
`ServerError`,
|
|
124
|
-
`ServerErrorData`,
|
|
125
|
-
`InitialValues`,
|
|
126
|
-
`default`,
|
|
127
|
-
`require`,
|
|
128
|
-
`validation`,
|
|
129
|
-
`filled`,
|
|
130
|
-
`loading`,
|
|
131
|
-
`serverError`,
|
|
132
|
-
`serverErrorData`,
|
|
133
|
-
`initialValues`,
|
|
134
|
-
|
|
135
118
|
// Colors
|
|
136
119
|
'hasAccent',
|
|
137
120
|
'hasPrimary',
|
|
@@ -144,6 +127,9 @@ const props = [
|
|
|
144
127
|
'errorRequest',
|
|
145
128
|
'errorNetwork',
|
|
146
129
|
'hasWarning',
|
|
130
|
+
|
|
131
|
+
'hasDefault',
|
|
132
|
+
|
|
147
133
|
'hasRequire',
|
|
148
134
|
'hasSuccess',
|
|
149
135
|
'hasDanger',
|
|
@@ -163,11 +149,12 @@ const props = [
|
|
|
163
149
|
'hasInfoMuted',
|
|
164
150
|
'hasDisabledMuted',
|
|
165
151
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
'
|
|
152
|
+
'hasValidation',
|
|
153
|
+
'hasFilled',
|
|
154
|
+
'hasLoading',
|
|
155
|
+
'hasServerError',
|
|
156
|
+
'hasServerErrorData',
|
|
157
|
+
'hasInitialValues',
|
|
171
158
|
|
|
172
159
|
// State
|
|
173
160
|
'custom',
|