@itcase/lint 1.1.17 → 1.1.19
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,9 +7,13 @@ const customGroups = {
|
|
|
7
7
|
description: '^description.*',
|
|
8
8
|
status: '^status.*',
|
|
9
9
|
fill: '^fill.*',
|
|
10
|
-
fillHover: 'fillHover.*',
|
|
11
|
-
fillActive: 'fillActive.*',
|
|
12
|
-
fillDisabled: 'fillDisabled.*',
|
|
10
|
+
fillHover: '^fillHover.*',
|
|
11
|
+
fillActive: '^fillActive.*',
|
|
12
|
+
fillDisabled: '^fillDisabled.*',
|
|
13
|
+
textColor: '^TextColor.*',
|
|
14
|
+
textColorHover: '^TextColorHover.*',
|
|
15
|
+
textColorActive: '^TextColorActive.*',
|
|
16
|
+
textColorDisabled: '^TextColorDisabled.*',
|
|
13
17
|
border: '^border.*',
|
|
14
18
|
shadow: '^shadow.*',
|
|
15
19
|
template: '^template.*',
|
|
@@ -30,6 +34,19 @@ const customGroups = {
|
|
|
30
34
|
hasInfo: '^.*(I|i)nfo.*',
|
|
31
35
|
hasDisabled: '^.*(D|d)isabled.*',
|
|
32
36
|
|
|
37
|
+
hasAccentMuted: '^.*AccentMuted.*',
|
|
38
|
+
hasPrimaryMuted: '^.*PrimaryMuted.*',
|
|
39
|
+
hasSecondaryMuted: '^.*SecondaryMuted.*',
|
|
40
|
+
hasTertiaryMuted: '^.*TertiaryMuted.*',
|
|
41
|
+
hasQuaternaryMuted: '^.*QuaternaryMuted.*',
|
|
42
|
+
hasSurfaceMuted: '^.*SurfaceMuted.*',
|
|
43
|
+
hasErrorMuted: '^(?!on).*ErrorMuted.*',
|
|
44
|
+
hasWarningMuted: '^.*WarningMuted.*',
|
|
45
|
+
hasSuccessMuted: '^(?!on).*SuccessMuted.*',
|
|
46
|
+
hasDangerMuted: '^.*DangerMuted.*',
|
|
47
|
+
hasInfoMuted: '^.*InfoMuted.*',
|
|
48
|
+
hasDisabledMuted: '^.*DisabledMuted.*',
|
|
49
|
+
|
|
33
50
|
min: '^min.*',
|
|
34
51
|
max: '^max.*',
|
|
35
52
|
|
|
@@ -43,6 +43,10 @@ const props = [
|
|
|
43
43
|
'fillHover',
|
|
44
44
|
'fillActive',
|
|
45
45
|
'fillDisabled',
|
|
46
|
+
'textColor',
|
|
47
|
+
'textColorHover',
|
|
48
|
+
'textColorActive',
|
|
49
|
+
'textColorDisabled',
|
|
46
50
|
|
|
47
51
|
'position',
|
|
48
52
|
'top',
|
|
@@ -197,6 +201,19 @@ const props = [
|
|
|
197
201
|
'hasDanger',
|
|
198
202
|
'hasDisabled',
|
|
199
203
|
|
|
204
|
+
'hasAccentMuted',
|
|
205
|
+
'hasPrimaryMuted',
|
|
206
|
+
'hasSecondaryMuted',
|
|
207
|
+
'hasTertiaryMuted',
|
|
208
|
+
'hasQuaternaryMuted',
|
|
209
|
+
'hasSurfaceMuted',
|
|
210
|
+
'hasErrorMuted',
|
|
211
|
+
'hasWarningMuted',
|
|
212
|
+
'hasSuccessMuted',
|
|
213
|
+
'hasDangerMuted',
|
|
214
|
+
'hasInfoMuted',
|
|
215
|
+
'hasDisabledMuted',
|
|
216
|
+
|
|
200
217
|
// State
|
|
201
218
|
'custom',
|
|
202
219
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@eslint/js": "^9.29.0",
|
|
41
41
|
"@eslint/markdown": "^6.5.0",
|
|
42
42
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
|
43
|
-
"@itcase/config": "^1.0.
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^8.34.
|
|
45
|
-
"@typescript-eslint/parser": "^8.34.
|
|
43
|
+
"@itcase/config": "^1.0.48",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
45
|
+
"@typescript-eslint/parser": "^8.34.1",
|
|
46
46
|
"eslint": "^9.29.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.20.0",
|
|
52
52
|
"eslint-plugin-node": "^11.1.0",
|
|
53
|
-
"eslint-plugin-perfectionist": "^4.
|
|
54
|
-
"eslint-plugin-prettier": "^5.
|
|
53
|
+
"eslint-plugin-perfectionist": "^4.15.0",
|
|
54
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
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.12",
|
|
61
|
+
"expo-modules-autolinking": "^2.1.12",
|
|
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.34.
|
|
68
|
+
"typescript-eslint": "^8.34.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@commitlint/cli": "^19.8.1",
|