@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)\b.*(A|a)ccent.*\b',
39
- hasPrimary: '^.(?!is|on)\b.*(P|p)rimary.*\b',
40
- hasSecondary: '^(?!is|on)\b.*(S|s)econdary.*\b',
41
- hasTertiary: '^(?!is|on)\b.*(T|t)ertiary.*\b',
42
- hasQuaternary: '^(?!is|on)\b.*(Q|q)uaternary.*\b',
43
- hasSurface: '^(?!is|on)\b.*(S|s)urface.*\b',
44
- hasError: '^(?!is|on)\b.*(E|e)rror.*\b',
45
- hasWarning: '^(?!is|on)\b.*(W|w)arning.*\b',
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)\b.*(D|d)efault.*\b',
47
+ hasDefault: '^.(?!is|on).*(D|d)efault.*\b',
48
48
 
49
- hasRequire: '^(?!is|on)\b.*(T|t)ertiary.*\b',
49
+ hasRequire: '^(?!is|on).*(T|t)ertiary.*\b',
50
50
 
51
- hasSuccess: '^(?!is|on)(?!on)\b.*(S|s)uccess.*\b',
52
- hasDanger: '^(?!is|on)\b.*(D|d)anger.*\b',
53
- hasInfo: '^(?!is|on)\b.*(I|i)nfo.*\b',
54
- hasDisabled: '^(?!is|on)\b.*(D|d)isabled.*\b',
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: '^\b.*AccentMuted.*\b',
57
- hasPrimaryMuted: '^\b.*PrimaryMuted.*\b',
58
- hasSecondaryMuted: '^\b.*SecondaryMuted.*\b',
59
- hasTertiaryMuted: '^\b.*TertiaryMuted.*\b',
60
- hasQuaternaryMuted: '^\b.*QuaternaryMuted.*\b',
61
- hasSurfaceMuted: '^\b.*SurfaceMuted.*\b',
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: '^\b.*WarningMuted.*\b',
63
+ hasWarningMuted: '^.*WarningMuted.*\b',
64
64
  hasSuccessMuted: '^(?!on).*\bSuccessMuted.*\b',
65
- hasDangerMuted: '^\b.*DangerMuted.*\b',
66
- hasInfoMuted: '^\b.*InfoMuted.*\b',
67
- hasDisabledMuted: '^\b.*DisabledMuted.*\b',
65
+ hasDangerMuted: '^.*DangerMuted.*\b',
66
+ hasInfoMuted: '^.*InfoMuted.*\b',
67
+ hasDisabledMuted: '^.*DisabledMuted.*\b',
68
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',
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.*',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.57",
3
+ "version": "1.1.58",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {