@itcase/lint 1.1.58 → 1.1.60
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.
|
@@ -45,9 +45,7 @@ const customGroups = {
|
|
|
45
45
|
hasWarning: '^(?!is|on).*(W|w)arning.*\b',
|
|
46
46
|
|
|
47
47
|
hasDefault: '^.(?!is|on).*(D|d)efault.*\b',
|
|
48
|
-
|
|
49
48
|
hasRequire: '^(?!is|on).*(T|t)ertiary.*\b',
|
|
50
|
-
|
|
51
49
|
hasSuccess: '^(?!is|on)(?!on).*(S|s)uccess.*\b',
|
|
52
50
|
hasDanger: '^(?!is|on).*(D|d)anger.*\b',
|
|
53
51
|
hasInfo: '^(?!is|on).*(I|i)nfo.*\b',
|
|
@@ -95,6 +93,7 @@ const customGroups = {
|
|
|
95
93
|
open: '^open.*',
|
|
96
94
|
hasIs: '^is.*',
|
|
97
95
|
hasSet: '^set.*',
|
|
96
|
+
hasGet: '^get.*',
|
|
98
97
|
on: '^on.*',
|
|
99
98
|
onClick: '^onClick.*',
|
|
100
99
|
onSuccess: '^onSuccess.*',
|
|
@@ -132,6 +132,8 @@ const props = [
|
|
|
132
132
|
|
|
133
133
|
'hasRequire',
|
|
134
134
|
'hasSuccess',
|
|
135
|
+
'successCreate',
|
|
136
|
+
'successUpdate',
|
|
135
137
|
'hasDanger',
|
|
136
138
|
'hasInfo',
|
|
137
139
|
'hasDisabled',
|
|
@@ -315,10 +317,11 @@ const props = [
|
|
|
315
317
|
'isSkeleton',
|
|
316
318
|
'hasIs',
|
|
317
319
|
'hasSet',
|
|
320
|
+
'hasGet',
|
|
318
321
|
'use',
|
|
319
322
|
'onClick',
|
|
320
|
-
'onSuccess',
|
|
321
323
|
'onError',
|
|
324
|
+
'onSuccess',
|
|
322
325
|
'on',
|
|
323
326
|
'children',
|
|
324
327
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.60",
|
|
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.
|
|
52
|
+
"eslint-plugin-n": "^17.22.0",
|
|
53
53
|
"eslint-plugin-node": "^11.1.0",
|
|
54
54
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
55
55
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"eslint-plugin-react-native": "^5.0.0",
|
|
60
60
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
61
61
|
"eslint-plugin-storybook": "^9.1.5",
|
|
62
|
-
"expo-modules-autolinking": "^
|
|
63
|
-
"globals": "^16.
|
|
62
|
+
"expo-modules-autolinking": "^3.0.10",
|
|
63
|
+
"globals": "^16.4.0",
|
|
64
64
|
"prettier": "^3.6.2",
|
|
65
65
|
"stylelint-config-standard": "^39.0.0",
|
|
66
66
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
79
79
|
"husky": "^9.1.7",
|
|
80
80
|
"lint-staged": "^16.1.6",
|
|
81
|
-
"semantic-release": "^24.2.
|
|
81
|
+
"semantic-release": "^24.2.8",
|
|
82
82
|
"typescript": "^5.9.2"
|
|
83
83
|
}
|
|
84
84
|
}
|