@itcase/lint 1.1.63 → 1.1.65
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.
|
@@ -35,6 +35,15 @@ const customGroups = {
|
|
|
35
35
|
ErrorRequestMock: 'ErrorRequestMock$',
|
|
36
36
|
SuccessMock: 'SuccessMock$',
|
|
37
37
|
|
|
38
|
+
hasPrimaryAppearance: '^.*Primary.*\b',
|
|
39
|
+
hasSecondaryAppearance: '^.*Secondary.*\b',
|
|
40
|
+
hasTertiaryAppearance: '^.*Tertiary.*\b',
|
|
41
|
+
hasQuaternaryAppearance: '^.*Quaternary.*\b',
|
|
42
|
+
hasMutedPrimaryAppearance: '^.*MutedPrimary.*\b',
|
|
43
|
+
hasMutedSecondaryAppearance: '^.*MutedSecondary.*\b',
|
|
44
|
+
hasMutedTertiaryAppearance: '^.*MutedTertiary.*\b',
|
|
45
|
+
hasMutedQuaternaryAppearance: '^.*MutedQuaternary.*\b',
|
|
46
|
+
|
|
38
47
|
hasAccent: '^.(?!is|on).*(A|a)ccent.*\b',
|
|
39
48
|
hasPrimary: '^.(?!is|on).*(P|p)rimary.*\b',
|
|
40
49
|
hasSecondary: '^(?!is|on).*(S|s)econdary.*\b',
|
|
@@ -71,6 +80,12 @@ const customGroups = {
|
|
|
71
80
|
hasServerErrorData: '^.(?!is|on).*(S|s)erverErrorData.*\b',
|
|
72
81
|
hasInitialValues: '^.(?!is|on).*(I|i)nitialValues.*\b',
|
|
73
82
|
|
|
83
|
+
hasHighest: '^highest.*',
|
|
84
|
+
hasHigh: '^high.*',
|
|
85
|
+
hasMedium: '^medium.*',
|
|
86
|
+
hasLow: '^low.*',
|
|
87
|
+
hasLowest: 'lowest.*',
|
|
88
|
+
|
|
74
89
|
min: '^min.*',
|
|
75
90
|
max: '^max.*',
|
|
76
91
|
|
|
@@ -158,6 +158,16 @@ const props = [
|
|
|
158
158
|
'hasServerErrorData',
|
|
159
159
|
'hasInitialValues',
|
|
160
160
|
|
|
161
|
+
// Appearance
|
|
162
|
+
'hasPrimaryAppearance',
|
|
163
|
+
'hasSecondaryAppearance',
|
|
164
|
+
'hasTertiaryAppearance',
|
|
165
|
+
'hasQuaternaryAppearance',
|
|
166
|
+
'hasMutedPrimaryAppearance',
|
|
167
|
+
'hasMutedSecondaryAppearance',
|
|
168
|
+
'hasMutedTertiaryAppearance',
|
|
169
|
+
'hasMutedQuaternaryAppearance',
|
|
170
|
+
|
|
161
171
|
// State
|
|
162
172
|
'custom',
|
|
163
173
|
'fail',
|
|
@@ -269,11 +279,11 @@ const props = [
|
|
|
269
279
|
'full',
|
|
270
280
|
'ghost',
|
|
271
281
|
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'
|
|
282
|
+
'hasHighest',
|
|
283
|
+
'hasHigh',
|
|
284
|
+
'hasMedium',
|
|
285
|
+
'hasLow',
|
|
286
|
+
'hasLowest',
|
|
277
287
|
|
|
278
288
|
// Other
|
|
279
289
|
'overflow',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.65",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-html": "^8.1.3",
|
|
50
50
|
"eslint-plugin-json": "^4.0.1",
|
|
51
51
|
"eslint-plugin-mobx": "^0.0.13",
|
|
52
|
-
"eslint-plugin-n": "^17.23.
|
|
52
|
+
"eslint-plugin-n": "^17.23.1",
|
|
53
53
|
"eslint-plugin-node": "^11.1.0",
|
|
54
54
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
55
55
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
59
59
|
"eslint-plugin-react-native": "^5.0.0",
|
|
60
60
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
61
|
-
"eslint-plugin-storybook": "^9.1.
|
|
62
|
-
"expo-modules-autolinking": "^3.0.
|
|
61
|
+
"eslint-plugin-storybook": "^9.1.7",
|
|
62
|
+
"expo-modules-autolinking": "^3.0.12",
|
|
63
63
|
"globals": "^16.4.0",
|
|
64
64
|
"prettier": "^3.6.2",
|
|
65
65
|
"stylelint-config-standard": "^39.0.0",
|