@itcase/lint 1.1.9 → 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: '
|
|
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.*',
|
|
@@ -46,6 +46,7 @@ const customGroups = {
|
|
|
46
46
|
isTablet: '^isTablet.*',
|
|
47
47
|
isDesktop: '^isDesktop.*',
|
|
48
48
|
|
|
49
|
+
message: '^message.*',
|
|
49
50
|
close: '^close.*',
|
|
50
51
|
open: '^open.*',
|
|
51
52
|
is: '^is.*',
|
|
@@ -88,6 +88,7 @@ const props = [
|
|
|
88
88
|
'credentials',
|
|
89
89
|
'params',
|
|
90
90
|
'code',
|
|
91
|
+
'errors',
|
|
91
92
|
|
|
92
93
|
// Indents and margins
|
|
93
94
|
'margin',
|
|
@@ -171,7 +172,6 @@ const props = [
|
|
|
171
172
|
'custom',
|
|
172
173
|
|
|
173
174
|
// Colors
|
|
174
|
-
'colorTokens',
|
|
175
175
|
'primary',
|
|
176
176
|
'secondary',
|
|
177
177
|
'tertiary',
|
|
@@ -183,6 +183,7 @@ const props = [
|
|
|
183
183
|
'success',
|
|
184
184
|
'danger',
|
|
185
185
|
'disabled',
|
|
186
|
+
'colorTokens',
|
|
186
187
|
|
|
187
188
|
// State
|
|
188
189
|
'error500',
|
|
@@ -211,6 +212,11 @@ const props = [
|
|
|
211
212
|
'rotateY',
|
|
212
213
|
'perspective',
|
|
213
214
|
'cursor',
|
|
215
|
+
'firstName',
|
|
216
|
+
'secondName',
|
|
217
|
+
'lastName',
|
|
218
|
+
'email',
|
|
219
|
+
'phone',
|
|
214
220
|
'component',
|
|
215
221
|
'args',
|
|
216
222
|
'globals',
|
|
@@ -230,6 +236,9 @@ const props = [
|
|
|
230
236
|
'after',
|
|
231
237
|
'open',
|
|
232
238
|
'close',
|
|
239
|
+
'primaryButton',
|
|
240
|
+
'secondaryButton',
|
|
241
|
+
'tertiaryButton',
|
|
233
242
|
'is',
|
|
234
243
|
'isDisabled',
|
|
235
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": {
|
|
@@ -34,49 +34,49 @@
|
|
|
34
34
|
"registry": "https://registry.npmjs.org/"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@babel/eslint-parser": "^7.27.
|
|
38
|
-
"@babel/eslint-plugin": "^7.27.
|
|
39
|
-
"@eslint/compat": "^1.
|
|
40
|
-
"@eslint/js": "^9.
|
|
41
|
-
"@eslint/markdown": "^6.
|
|
42
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.4.
|
|
43
|
-
"@itcase/config": "^1.0.
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
45
|
-
"@typescript-eslint/parser": "^8.
|
|
46
|
-
"eslint": "^9.
|
|
47
|
-
"eslint-config-prettier": "^10.1.
|
|
48
|
-
"eslint-plugin-html": "^8.1.
|
|
37
|
+
"@babel/eslint-parser": "^7.27.5",
|
|
38
|
+
"@babel/eslint-plugin": "^7.27.1",
|
|
39
|
+
"@eslint/compat": "^1.3.0",
|
|
40
|
+
"@eslint/js": "^9.28.0",
|
|
41
|
+
"@eslint/markdown": "^6.5.0",
|
|
42
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
|
43
|
+
"@itcase/config": "^1.0.47",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
45
|
+
"@typescript-eslint/parser": "^8.34.0",
|
|
46
|
+
"eslint": "^9.28.0",
|
|
47
|
+
"eslint-config-prettier": "^10.1.5",
|
|
48
|
+
"eslint-plugin-html": "^8.1.3",
|
|
49
49
|
"eslint-plugin-json": "^4.0.1",
|
|
50
50
|
"eslint-plugin-mobx": "^0.0.13",
|
|
51
|
-
"eslint-plugin-n": "^17.
|
|
51
|
+
"eslint-plugin-n": "^17.19.0",
|
|
52
52
|
"eslint-plugin-node": "^11.1.0",
|
|
53
|
-
"eslint-plugin-perfectionist": "^4.
|
|
54
|
-
"eslint-plugin-prettier": "^5.
|
|
53
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
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": "^0.
|
|
61
|
-
"expo-modules-autolinking": "^2.
|
|
62
|
-
"globals": "^16.
|
|
60
|
+
"eslint-plugin-storybook": "^9.0.8",
|
|
61
|
+
"expo-modules-autolinking": "^2.1.11",
|
|
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
|
-
"@commitlint/cli": "^19.8.
|
|
72
|
-
"@commitlint/config-conventional": "^19.8.
|
|
71
|
+
"@commitlint/cli": "^19.8.1",
|
|
72
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
73
73
|
"@semantic-release/changelog": "^6.0.3",
|
|
74
74
|
"@semantic-release/git": "^10.0.1",
|
|
75
75
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
76
|
-
"conventional-changelog-conventionalcommits": "^
|
|
76
|
+
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
77
77
|
"husky": "^9.1.7",
|
|
78
|
-
"lint-staged": "^
|
|
79
|
-
"semantic-release": "^24.2.
|
|
78
|
+
"lint-staged": "^16.1.0",
|
|
79
|
+
"semantic-release": "^24.2.5",
|
|
80
80
|
"typescript": "^5.8.3"
|
|
81
81
|
}
|
|
82
82
|
}
|