@itcase/lint 1.0.45 → 1.0.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.
|
@@ -12,6 +12,21 @@ const customGroups = {
|
|
|
12
12
|
path: '^path.*',
|
|
13
13
|
font: '^font.*',
|
|
14
14
|
text: '^text.*',
|
|
15
|
+
|
|
16
|
+
colorTokens:
|
|
17
|
+
'(?:accent|primary|secondary|tertiary|quaternary|surface|error|warning|success|danger|disabled)',
|
|
18
|
+
|
|
19
|
+
primary: '^.*Primary.*',
|
|
20
|
+
secondary: '^.*Secondary.*',
|
|
21
|
+
tertiary: '^.*Tertiary.*',
|
|
22
|
+
quaternary: '^.*Quaternary.*',
|
|
23
|
+
surface: '^.*Surface.*',
|
|
24
|
+
error: '^.*Error.*',
|
|
25
|
+
warning: '^.*Warning.*',
|
|
26
|
+
success: '^.*Success.*',
|
|
27
|
+
danger: '^.*Danger.*',
|
|
28
|
+
disabled: '^.*Disabled.*',
|
|
29
|
+
|
|
15
30
|
flex: '^flex.*',
|
|
16
31
|
justify: '^justify.*',
|
|
17
32
|
align: '^align.*',
|
|
@@ -137,6 +137,19 @@ const props = [
|
|
|
137
137
|
'prompts',
|
|
138
138
|
'actions',
|
|
139
139
|
|
|
140
|
+
// Colors
|
|
141
|
+
'colorTokens',
|
|
142
|
+
'primary',
|
|
143
|
+
'secondary',
|
|
144
|
+
'tertiary',
|
|
145
|
+
'quaternary',
|
|
146
|
+
'surface',
|
|
147
|
+
'error',
|
|
148
|
+
'warning',
|
|
149
|
+
'success',
|
|
150
|
+
'danger',
|
|
151
|
+
'disabled',
|
|
152
|
+
|
|
140
153
|
// Other
|
|
141
154
|
// Прочее
|
|
142
155
|
'overflow',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
"registry": "https://registry.npmjs.org/"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@babel/eslint-parser": "^7.
|
|
37
|
-
"@babel/eslint-plugin": "^7.
|
|
36
|
+
"@babel/eslint-parser": "^7.27.0",
|
|
37
|
+
"@babel/eslint-plugin": "^7.27.0",
|
|
38
38
|
"@eslint/compat": "^1.2.7",
|
|
39
|
-
"@eslint/js": "^9.
|
|
39
|
+
"@eslint/js": "^9.23.0",
|
|
40
40
|
"@eslint/markdown": "^6.3.0",
|
|
41
41
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
42
42
|
"@itcase/config": "^1.0.26",
|
|
43
|
-
"eslint": "^9.
|
|
43
|
+
"eslint": "^9.23.0",
|
|
44
44
|
"eslint-config-prettier": "^10.1.1",
|
|
45
45
|
"eslint-plugin-html": "^8.1.2",
|
|
46
46
|
"eslint-plugin-json": "^4.0.1",
|
|
47
47
|
"eslint-plugin-mobx": "^0.0.13",
|
|
48
|
-
"eslint-plugin-n": "^17.
|
|
48
|
+
"eslint-plugin-n": "^17.17.0",
|
|
49
49
|
"eslint-plugin-node": "^11.1.0",
|
|
50
50
|
"eslint-plugin-perfectionist": "^4.10.1",
|
|
51
|
-
"eslint-plugin-prettier": "^5.2.
|
|
51
|
+
"eslint-plugin-prettier": "^5.2.5",
|
|
52
52
|
"eslint-plugin-promise": "^7.2.1",
|
|
53
53
|
"eslint-plugin-react": "^7.37.4",
|
|
54
54
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
55
55
|
"eslint-plugin-react-native": "^5.0.0",
|
|
56
56
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
57
|
-
"eslint-plugin-storybook": "^0.
|
|
57
|
+
"eslint-plugin-storybook": "^0.12.0",
|
|
58
58
|
"expo-modules-autolinking": "^2.0.8",
|
|
59
59
|
"globals": "^16.0.0",
|
|
60
60
|
"prettier": "^3.5.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
63
63
|
"stylelint-order": "^6.0.4",
|
|
64
64
|
"stylelint-prettier": "^5.0.3",
|
|
65
|
-
"typescript-eslint": "^8.
|
|
65
|
+
"typescript-eslint": "^8.28.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@commitlint/cli": "^19.8.0",
|