@itcase/lint 1.1.57 → 1.1.58
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.
|
@@ -35,43 +35,43 @@ const customGroups = {
|
|
|
35
35
|
ErrorRequestMock: 'ErrorRequestMock$',
|
|
36
36
|
SuccessMock: 'SuccessMock$',
|
|
37
37
|
|
|
38
|
-
hasAccent: '^.(?!is|on)
|
|
39
|
-
hasPrimary: '^.(?!is|on)
|
|
40
|
-
hasSecondary: '^(?!is|on)
|
|
41
|
-
hasTertiary: '^(?!is|on)
|
|
42
|
-
hasQuaternary: '^(?!is|on)
|
|
43
|
-
hasSurface: '^(?!is|on)
|
|
44
|
-
hasError: '^(?!is|on)
|
|
45
|
-
hasWarning: '^(?!is|on)
|
|
38
|
+
hasAccent: '^.(?!is|on).*(A|a)ccent.*\b',
|
|
39
|
+
hasPrimary: '^.(?!is|on).*(P|p)rimary.*\b',
|
|
40
|
+
hasSecondary: '^(?!is|on).*(S|s)econdary.*\b',
|
|
41
|
+
hasTertiary: '^(?!is|on).*(T|t)ertiary.*\b',
|
|
42
|
+
hasQuaternary: '^(?!is|on).*(Q|q)uaternary.*\b',
|
|
43
|
+
hasSurface: '^(?!is|on).*(S|s)urface.*\b',
|
|
44
|
+
hasError: '^(?!is|on).*(E|e)rror.*\b',
|
|
45
|
+
hasWarning: '^(?!is|on).*(W|w)arning.*\b',
|
|
46
46
|
|
|
47
|
-
hasDefault: '^.(?!is|on)
|
|
47
|
+
hasDefault: '^.(?!is|on).*(D|d)efault.*\b',
|
|
48
48
|
|
|
49
|
-
hasRequire: '^(?!is|on)
|
|
49
|
+
hasRequire: '^(?!is|on).*(T|t)ertiary.*\b',
|
|
50
50
|
|
|
51
|
-
hasSuccess: '^(?!is|on)(?!on)
|
|
52
|
-
hasDanger: '^(?!is|on)
|
|
53
|
-
hasInfo: '^(?!is|on)
|
|
54
|
-
hasDisabled: '^(?!is|on)
|
|
51
|
+
hasSuccess: '^(?!is|on)(?!on).*(S|s)uccess.*\b',
|
|
52
|
+
hasDanger: '^(?!is|on).*(D|d)anger.*\b',
|
|
53
|
+
hasInfo: '^(?!is|on).*(I|i)nfo.*\b',
|
|
54
|
+
hasDisabled: '^(?!is|on).*(D|d)isabled.*\b',
|
|
55
55
|
|
|
56
|
-
hasAccentMuted: '
|
|
57
|
-
hasPrimaryMuted: '
|
|
58
|
-
hasSecondaryMuted: '
|
|
59
|
-
hasTertiaryMuted: '
|
|
60
|
-
hasQuaternaryMuted: '
|
|
61
|
-
hasSurfaceMuted: '
|
|
56
|
+
hasAccentMuted: '^.*AccentMuted.*\b',
|
|
57
|
+
hasPrimaryMuted: '^.*PrimaryMuted.*\b',
|
|
58
|
+
hasSecondaryMuted: '^.*SecondaryMuted.*\b',
|
|
59
|
+
hasTertiaryMuted: '^.*TertiaryMuted.*\b',
|
|
60
|
+
hasQuaternaryMuted: '^.*QuaternaryMuted.*\b',
|
|
61
|
+
hasSurfaceMuted: '^.*SurfaceMuted.*\b',
|
|
62
62
|
hasErrorMuted: '^(?!on).*\bErrorMuted.*\b',
|
|
63
|
-
hasWarningMuted: '
|
|
63
|
+
hasWarningMuted: '^.*WarningMuted.*\b',
|
|
64
64
|
hasSuccessMuted: '^(?!on).*\bSuccessMuted.*\b',
|
|
65
|
-
hasDangerMuted: '
|
|
66
|
-
hasInfoMuted: '
|
|
67
|
-
hasDisabledMuted: '
|
|
65
|
+
hasDangerMuted: '^.*DangerMuted.*\b',
|
|
66
|
+
hasInfoMuted: '^.*InfoMuted.*\b',
|
|
67
|
+
hasDisabledMuted: '^.*DisabledMuted.*\b',
|
|
68
68
|
|
|
69
|
-
hasValidation: '^.(?!is|on)
|
|
70
|
-
hasFilled: '^.(?!is|on)
|
|
71
|
-
hasLoading: '^.(?!is|on)
|
|
72
|
-
hasServerError: '^.(?!is|on)
|
|
73
|
-
hasServerErrorData: '^.(?!is|on)
|
|
74
|
-
hasInitialValues: '^.(?!is|on)
|
|
69
|
+
hasValidation: '^.(?!is|on).*(V|v)alidation.*\b',
|
|
70
|
+
hasFilled: '^.(?!is|on).*(F|f)illed.*\b',
|
|
71
|
+
hasLoading: '^.(?!is|on).*(L|l)oading.*\b',
|
|
72
|
+
hasServerError: '^.(?!is|on).*(S|s)erverError.*\b',
|
|
73
|
+
hasServerErrorData: '^.(?!is|on).*(S|s)erverErrorData.*\b',
|
|
74
|
+
hasInitialValues: '^.(?!is|on).*(I|i)nitialValues.*\b',
|
|
75
75
|
|
|
76
76
|
min: '^min.*',
|
|
77
77
|
max: '^max.*',
|