@itcase/lint 1.1.46 → 1.1.48
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.
|
@@ -42,7 +42,7 @@ const customGroups = {
|
|
|
42
42
|
hasTertiary: '^(?!is|on).*(T|t)ertiary.*',
|
|
43
43
|
hasQuaternary: '^(?!is|on).*(Q|q)uaternary.*',
|
|
44
44
|
hasSurface: '^(?!is|on).*(S|s)urface.*',
|
|
45
|
-
hasError: '^(?!is|on)
|
|
45
|
+
hasError: '^(?!is|on).*(E|e)rror.*',
|
|
46
46
|
hasWarning: '^(?!is|on).*(W|w)arning.*',
|
|
47
47
|
hasRequire: '^(?!is|on).*(T|t)ertiary.*',
|
|
48
48
|
hasSuccess: '^(?!is|on)(?!on).*(S|s)uccess.*',
|
|
@@ -80,10 +80,6 @@ const customGroups = {
|
|
|
80
80
|
isTablet: '^isTablet.*',
|
|
81
81
|
isDesktop: '^isDesktop.*',
|
|
82
82
|
|
|
83
|
-
primaryButton: '^primaryButton.*',
|
|
84
|
-
secondaryButton: '^secondaryButton.*',
|
|
85
|
-
tertiaryButton: '^tertiaryButton.*',
|
|
86
|
-
|
|
87
83
|
message: '^message.*',
|
|
88
84
|
close: '^close.*',
|
|
89
85
|
open: '^open.*',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const props = [
|
|
2
2
|
'UPPERCASE',
|
|
3
3
|
'id',
|
|
4
|
+
'appearance',
|
|
5
|
+
'className',
|
|
4
6
|
'dataTestId',
|
|
5
7
|
'dataTour',
|
|
6
|
-
'className',
|
|
7
8
|
'key',
|
|
8
9
|
'type',
|
|
9
10
|
'name',
|
|
10
11
|
'ref',
|
|
11
|
-
'appearance',
|
|
12
12
|
|
|
13
13
|
// Size and positioning
|
|
14
14
|
'width',
|
|
@@ -60,13 +60,6 @@ const props = [
|
|
|
60
60
|
'textColorActiveHover',
|
|
61
61
|
'textColorDisabled',
|
|
62
62
|
|
|
63
|
-
'border',
|
|
64
|
-
'borderColor',
|
|
65
|
-
'borderColorHover',
|
|
66
|
-
'borderColorActive',
|
|
67
|
-
'borderColorActiveHover',
|
|
68
|
-
'borderColorDisabled',
|
|
69
|
-
|
|
70
63
|
'circular',
|
|
71
64
|
'rounded',
|
|
72
65
|
'roundedXXL',
|
|
@@ -90,7 +83,6 @@ const props = [
|
|
|
90
83
|
'isTablet',
|
|
91
84
|
'isDesktop',
|
|
92
85
|
|
|
93
|
-
// FormInitialValues Mock
|
|
94
86
|
`default`,
|
|
95
87
|
`empty`,
|
|
96
88
|
`validation`,
|
|
@@ -121,7 +113,13 @@ const props = [
|
|
|
121
113
|
'actions',
|
|
122
114
|
'status',
|
|
123
115
|
|
|
124
|
-
|
|
116
|
+
'border',
|
|
117
|
+
'borderColor',
|
|
118
|
+
'borderColorHover',
|
|
119
|
+
'borderColorActive',
|
|
120
|
+
'borderColorActiveHover',
|
|
121
|
+
'borderColorDisabled',
|
|
122
|
+
|
|
125
123
|
`Default`,
|
|
126
124
|
`Require`,
|
|
127
125
|
`Validation`,
|
|
@@ -331,9 +329,6 @@ const props = [
|
|
|
331
329
|
'device',
|
|
332
330
|
'unknown',
|
|
333
331
|
'before',
|
|
334
|
-
'primaryButton',
|
|
335
|
-
'secondaryButton',
|
|
336
|
-
'tertiaryButton',
|
|
337
332
|
'after',
|
|
338
333
|
'open',
|
|
339
334
|
'close',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.48",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@eslint/compat": "^1.3.2",
|
|
40
40
|
"@eslint/js": "^9.34.0",
|
|
41
41
|
"@eslint/markdown": "^7.2.0",
|
|
42
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.
|
|
42
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
44
44
|
"@typescript-eslint/parser": "^8.41.0",
|
|
45
45
|
"eslint": "^9.34.0",
|