@itcase/lint 1.1.10 → 1.1.12
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.
|
@@ -7,6 +7,9 @@ const customGroups = {
|
|
|
7
7
|
description: '^description.*',
|
|
8
8
|
status: '^status.*',
|
|
9
9
|
fill: '^fill.*',
|
|
10
|
+
fillHover: '^fillHover.*',
|
|
11
|
+
fillActive: '^fillActive.*',
|
|
12
|
+
fillDisabled: '^fillDisabled.*',
|
|
10
13
|
border: '^border.*',
|
|
11
14
|
shadow: '^shadow.*',
|
|
12
15
|
template: '^template.*',
|
|
@@ -15,19 +18,19 @@ const customGroups = {
|
|
|
15
18
|
text: '^text.*',
|
|
16
19
|
|
|
17
20
|
colorTokens:
|
|
18
|
-
'(?:accent|primary|secondary|tertiary|quaternary|surface|error|warning|success|info|
|
|
19
|
-
|
|
20
|
-
primary: '^.*
|
|
21
|
-
secondary: '^.*
|
|
22
|
-
tertiary: '^.*
|
|
23
|
-
quaternary: '^.*
|
|
24
|
-
surface: '^.*
|
|
25
|
-
error: '^(?!on).*
|
|
26
|
-
warning: '^.*
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
disabled: '^.*
|
|
21
|
+
'(?:accent|primary|secondary|tertiary|quaternary|surface|error|warning|success|danger|info|disabled)',
|
|
22
|
+
|
|
23
|
+
primary: '^.*(P|p)rimary.*',
|
|
24
|
+
secondary: '^.*(S|s)econdary.*',
|
|
25
|
+
tertiary: '^.*(T|t)ertiary.*',
|
|
26
|
+
quaternary: '^.*(Q|q)uaternary.*',
|
|
27
|
+
surface: '^.*(S|s)urface.*',
|
|
28
|
+
error: '^(?!on).*(E|e)rror.*',
|
|
29
|
+
warning: '^.*(W|w)arning.*',
|
|
30
|
+
success: '^(?!on).*(S|s)uccess.*',
|
|
31
|
+
danger: '^.*(D|d)anger.*',
|
|
32
|
+
info: '^.*(I|i)nfo.*',
|
|
33
|
+
disabled: '^.*(D|d)isabled.*',
|
|
31
34
|
|
|
32
35
|
min: '^min.*',
|
|
33
36
|
max: '^max.*',
|
|
@@ -40,6 +40,9 @@ const props = [
|
|
|
40
40
|
'xxs',
|
|
41
41
|
|
|
42
42
|
'fill',
|
|
43
|
+
'fillHover',
|
|
44
|
+
'fillActive',
|
|
45
|
+
'fillDisabled',
|
|
43
46
|
|
|
44
47
|
'position',
|
|
45
48
|
'top',
|
|
@@ -172,7 +175,6 @@ const props = [
|
|
|
172
175
|
'custom',
|
|
173
176
|
|
|
174
177
|
// Colors
|
|
175
|
-
'colorTokens',
|
|
176
178
|
'primary',
|
|
177
179
|
'secondary',
|
|
178
180
|
'tertiary',
|
|
@@ -184,6 +186,7 @@ const props = [
|
|
|
184
186
|
'success',
|
|
185
187
|
'danger',
|
|
186
188
|
'disabled',
|
|
189
|
+
'colorTokens',
|
|
187
190
|
|
|
188
191
|
// State
|
|
189
192
|
'error500',
|
|
@@ -236,6 +239,9 @@ const props = [
|
|
|
236
239
|
'after',
|
|
237
240
|
'open',
|
|
238
241
|
'close',
|
|
242
|
+
'primaryButton',
|
|
243
|
+
'secondaryButton',
|
|
244
|
+
'tertiaryButton',
|
|
239
245
|
'is',
|
|
240
246
|
'isDisabled',
|
|
241
247
|
'set',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/eslint-parser": "^7.27.5",
|
|
38
38
|
"@babel/eslint-plugin": "^7.27.1",
|
|
39
|
-
"@eslint/compat": "^1.
|
|
39
|
+
"@eslint/compat": "^1.3.0",
|
|
40
40
|
"@eslint/js": "^9.28.0",
|
|
41
|
-
"@eslint/markdown": "^6.
|
|
41
|
+
"@eslint/markdown": "^6.5.0",
|
|
42
42
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
|
43
43
|
"@itcase/config": "^1.0.47",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
45
|
-
"@typescript-eslint/parser": "^8.
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
45
|
+
"@typescript-eslint/parser": "^8.34.0",
|
|
46
46
|
"eslint": "^9.28.0",
|
|
47
47
|
"eslint-config-prettier": "^10.1.5",
|
|
48
48
|
"eslint-plugin-html": "^8.1.3",
|
|
@@ -50,22 +50,22 @@
|
|
|
50
50
|
"eslint-plugin-mobx": "^0.0.13",
|
|
51
51
|
"eslint-plugin-n": "^17.19.0",
|
|
52
52
|
"eslint-plugin-node": "^11.1.0",
|
|
53
|
-
"eslint-plugin-perfectionist": "^4.
|
|
53
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
54
54
|
"eslint-plugin-prettier": "^5.4.1",
|
|
55
55
|
"eslint-plugin-promise": "^7.2.1",
|
|
56
56
|
"eslint-plugin-react": "^7.37.5",
|
|
57
57
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
58
58
|
"eslint-plugin-react-native": "^5.0.0",
|
|
59
59
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
60
|
-
"eslint-plugin-storybook": "^9.0.
|
|
61
|
-
"expo-modules-autolinking": "^2.1.
|
|
60
|
+
"eslint-plugin-storybook": "^9.0.8",
|
|
61
|
+
"expo-modules-autolinking": "^2.1.11",
|
|
62
62
|
"globals": "^16.2.0",
|
|
63
63
|
"prettier": "^3.5.3",
|
|
64
64
|
"stylelint-config-standard": "^38.0.0",
|
|
65
65
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
66
66
|
"stylelint-order": "^7.0.0",
|
|
67
67
|
"stylelint-prettier": "^5.0.3",
|
|
68
|
-
"typescript-eslint": "^8.
|
|
68
|
+
"typescript-eslint": "^8.34.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@commitlint/cli": "^19.8.1",
|