@itcase/lint 1.1.10 → 1.1.11
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.
|
@@ -15,19 +15,19 @@ const customGroups = {
|
|
|
15
15
|
text: '^text.*',
|
|
16
16
|
|
|
17
17
|
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: '^.*
|
|
18
|
+
'(?:accent|primary|secondary|tertiary|quaternary|surface|error|warning|success|danger|info|disabled)',
|
|
19
|
+
|
|
20
|
+
primary: '^.*(P|p)rimary.*',
|
|
21
|
+
secondary: '^.*(S|s)econdary.*',
|
|
22
|
+
tertiary: '^.*(T|t)ertiary.*',
|
|
23
|
+
quaternary: '^.*(Q|q)uaternary.*',
|
|
24
|
+
surface: '^.*(S|s)urface.*',
|
|
25
|
+
error: '^(?!on).*(E|e)rror.*',
|
|
26
|
+
warning: '^.*(W|w)arning.*',
|
|
27
|
+
success: '^(?!on).*(S|s)uccess.*',
|
|
28
|
+
danger: '^.*(D|d)anger.*',
|
|
29
|
+
info: '^.*(I|i)nfo.*',
|
|
30
|
+
disabled: '^.*(D|d)isabled.*',
|
|
31
31
|
|
|
32
32
|
min: '^min.*',
|
|
33
33
|
max: '^max.*',
|
|
@@ -172,7 +172,6 @@ const props = [
|
|
|
172
172
|
'custom',
|
|
173
173
|
|
|
174
174
|
// Colors
|
|
175
|
-
'colorTokens',
|
|
176
175
|
'primary',
|
|
177
176
|
'secondary',
|
|
178
177
|
'tertiary',
|
|
@@ -184,6 +183,7 @@ const props = [
|
|
|
184
183
|
'success',
|
|
185
184
|
'danger',
|
|
186
185
|
'disabled',
|
|
186
|
+
'colorTokens',
|
|
187
187
|
|
|
188
188
|
// State
|
|
189
189
|
'error500',
|
|
@@ -236,6 +236,9 @@ const props = [
|
|
|
236
236
|
'after',
|
|
237
237
|
'open',
|
|
238
238
|
'close',
|
|
239
|
+
'primaryButton',
|
|
240
|
+
'secondaryButton',
|
|
241
|
+
'tertiaryButton',
|
|
239
242
|
'is',
|
|
240
243
|
'isDisabled',
|
|
241
244
|
'set',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
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",
|