@itcase/lint 1.1.31 → 1.1.33

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.
@@ -27,8 +27,10 @@ const customGroups = {
27
27
  hasTertiary: '^.*(T|t)ertiary.*',
28
28
  hasQuaternary: '^.*(Q|q)uaternary.*',
29
29
  hasSurface: '^.*(S|s)urface.*',
30
+ hasDefault: '^.*(A|a)ccent.*',
30
31
  hasError: '^(?!on).*(E|e)rror.*',
31
32
  hasWarning: '^.*(W|w)arning.*',
33
+ hasRequire: '^.*(T|t)ertiary.*',
32
34
  hasSuccess: '^(?!on).*(S|s)uccess.*',
33
35
  hasDanger: '^.*(D|d)anger.*',
34
36
  hasInfo: '^.*(I|i)nfo.*',
@@ -58,13 +58,13 @@ const props = [
58
58
 
59
59
  'circular',
60
60
  'rounded',
61
- 'roundedXXS',
62
- 'roundedXS',
63
- 'roundedS',
64
- 'roundedM',
65
- 'roundedL',
66
- 'roundedXL',
67
61
  'roundedXXL',
62
+ 'roundedXL',
63
+ 'roundedL',
64
+ 'roundedM',
65
+ 'roundedS',
66
+ 'roundedXS',
67
+ 'roundedXXS',
68
68
 
69
69
  'position',
70
70
  'top',
@@ -107,6 +107,59 @@ const props = [
107
107
  'actions',
108
108
  'status',
109
109
 
110
+ // Colors
111
+ 'accent',
112
+ 'primary',
113
+ 'secondary',
114
+ 'tertiary',
115
+ 'quaternary',
116
+ 'surface',
117
+ 'default',
118
+ 'error',
119
+ 'warning',
120
+ 'require',
121
+ 'success',
122
+ 'danger',
123
+ 'info',
124
+ 'disabled',
125
+
126
+ 'hasAccent',
127
+ 'hasPrimary',
128
+ 'hasSecondary',
129
+ 'hasTertiary',
130
+ 'hasQuaternary',
131
+ 'hasSurface',
132
+ 'hasDefault',
133
+ 'hasError',
134
+ 'hasWarning',
135
+ 'hasRequire',
136
+ 'hasSuccess',
137
+ 'hasDanger',
138
+ 'hasInfo',
139
+ 'hasDisabled',
140
+
141
+ 'hasAccentMuted',
142
+ 'hasPrimaryMuted',
143
+ 'hasSecondaryMuted',
144
+ 'hasTertiaryMuted',
145
+ 'hasQuaternaryMuted',
146
+ 'hasSurfaceMuted',
147
+ 'hasErrorMuted',
148
+ 'hasWarningMuted',
149
+ 'hasSuccessMuted',
150
+ 'hasDangerMuted',
151
+ 'hasInfoMuted',
152
+ 'hasDisabledMuted',
153
+
154
+ // State
155
+ 'custom',
156
+ 'fail',
157
+ 'error500',
158
+ 'nothingFound',
159
+ 'unableLoadData',
160
+ 'refresh',
161
+ 'confirm',
162
+
110
163
  'url',
111
164
  'method',
112
165
  'data',
@@ -194,7 +247,6 @@ const props = [
194
247
  'elevation',
195
248
 
196
249
  // Color and background
197
- // Цвет и фон
198
250
  'backgroundColor',
199
251
  'opacity',
200
252
 
@@ -207,56 +259,6 @@ const props = [
207
259
  'includeFontPadding',
208
260
  'writingDirection',
209
261
 
210
- // Colors
211
- 'accent',
212
- 'primary',
213
- 'secondary',
214
- 'tertiary',
215
- 'quaternary',
216
- 'surface',
217
- 'error',
218
- 'warning',
219
- 'info',
220
- 'success',
221
- 'danger',
222
- 'disabled',
223
- 'hasAccent',
224
- 'hasPrimary',
225
- 'hasSecondary',
226
- 'hasTertiary',
227
- 'hasQuaternary',
228
- 'hasSurface',
229
- 'hasError',
230
- 'hasWarning',
231
- 'hasInfo',
232
- 'hasSuccess',
233
- 'hasDanger',
234
- 'hasDisabled',
235
-
236
- 'hasAccentMuted',
237
- 'hasPrimaryMuted',
238
- 'hasSecondaryMuted',
239
- 'hasTertiaryMuted',
240
- 'hasQuaternaryMuted',
241
- 'hasSurfaceMuted',
242
- 'hasErrorMuted',
243
- 'hasWarningMuted',
244
- 'hasSuccessMuted',
245
- 'hasDangerMuted',
246
- 'hasInfoMuted',
247
- 'hasDisabledMuted',
248
-
249
- // State
250
- 'custom',
251
-
252
- // State
253
- 'error500',
254
- 'fail',
255
- 'nothingFound',
256
- 'unableLoadData',
257
- 'refresh',
258
- 'confirm',
259
-
260
262
  // Style
261
263
  'solid',
262
264
  'outlined',
@@ -312,6 +314,7 @@ const props = [
312
314
  'isChecked',
313
315
  'isDisabled',
314
316
  'isError',
317
+ 'isSkeleton',
315
318
  'use',
316
319
  'on',
317
320
  'onSuccess',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.31",
3
+ "version": "1.1.33",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {