@itcase/lint 1.1.50 → 1.1.52

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,32 +35,32 @@ 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',
46
- hasRequire: '^(?!is|on).*\b(T|t)ertiary.*\b',
47
- hasSuccess: '^(?!is|on)(?!on).*\b(S|s)uccess.*\b',
48
- hasDanger: '^(?!is|on).*\b(D|d)anger.*\b',
49
- hasInfo: '^(?!is|on).*\b(I|i)nfo.*\b',
50
- hasDisabled: '^(?!is|on).*\b(D|d)isabled.*\b',
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',
46
+ hasRequire: '^(?!is|on)\b.*(T|t)ertiary.*\b',
47
+ hasSuccess: '^(?!is|on)(?!on)\b.*(S|s)uccess.*\b',
48
+ hasDanger: '^(?!is|on)\b.*(D|d)anger.*\b',
49
+ hasInfo: '^(?!is|on)\b.*(I|i)nfo.*\b',
50
+ hasDisabled: '^(?!is|on)\b.*(D|d)isabled.*\b',
51
51
 
52
- hasAccentMuted: '^.*\bAccentMuted.*\b',
53
- hasPrimaryMuted: '^.*\bPrimaryMuted.*\b',
54
- hasSecondaryMuted: '^.*\bSecondaryMuted.*\b',
55
- hasTertiaryMuted: '^.*\bTertiaryMuted.*\b',
56
- hasQuaternaryMuted: '^.*\bQuaternaryMuted.*\b',
57
- hasSurfaceMuted: '^.*\bSurfaceMuted.*\b',
52
+ hasAccentMuted: '^\b.*AccentMuted.*\b',
53
+ hasPrimaryMuted: '^\b.*PrimaryMuted.*\b',
54
+ hasSecondaryMuted: '^\b.*SecondaryMuted.*\b',
55
+ hasTertiaryMuted: '^\b.*TertiaryMuted.*\b',
56
+ hasQuaternaryMuted: '^\b.*QuaternaryMuted.*\b',
57
+ hasSurfaceMuted: '^\b.*SurfaceMuted.*\b',
58
58
  hasErrorMuted: '^(?!on).*\bErrorMuted.*\b',
59
- hasWarningMuted: '^.*\bWarningMuted.*\b',
59
+ hasWarningMuted: '^\b.*WarningMuted.*\b',
60
60
  hasSuccessMuted: '^(?!on).*\bSuccessMuted.*\b',
61
- hasDangerMuted: '^.*\bDangerMuted.*\b',
62
- hasInfoMuted: '^.*\bInfoMuted.*\b',
63
- hasDisabledMuted: '^.*\bDisabledMuted.*\b',
61
+ hasDangerMuted: '^\b.*DangerMuted.*\b',
62
+ hasInfoMuted: '^\b.*InfoMuted.*\b',
63
+ hasDisabledMuted: '^\b.*DisabledMuted.*\b',
64
64
 
65
65
  min: '^min.*',
66
66
  max: '^max.*',
@@ -129,19 +129,21 @@ const props = [
129
129
  `InitialValues`,
130
130
 
131
131
  // Colors
132
- 'accent',
133
- 'primary',
134
- 'secondary',
135
- 'tertiary',
136
- 'quaternary',
137
- 'surface',
138
- 'error',
139
- 'warning',
140
- 'require',
141
- 'success',
142
- 'danger',
143
- 'info',
144
- 'disabled',
132
+ // 'accent',
133
+ // 'primary',
134
+ // 'secondary',
135
+ // 'tertiary',
136
+ // 'quaternary',
137
+ // 'surface',
138
+ // 'error',
139
+ // 'errorRequest',
140
+ // 'errorNetwork',
141
+ // 'warning',
142
+ // 'require',
143
+ // 'success',
144
+ // 'danger',
145
+ // 'info',
146
+ // 'disabled',
145
147
 
146
148
  'hasAccent',
147
149
  'hasPrimary',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.50",
3
+ "version": "1.1.52",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {