@eslint-react/eslint-plugin 1.21.0-next.0 → 1.21.0
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.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -65,9 +65,9 @@ declare const rules$b: {
|
|
|
65
65
|
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
66
66
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
67
67
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
|
|
68
|
-
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
69
68
|
readonly "@eslint-react/hooks-extra/no-unnecessary-use-callback": "warn";
|
|
70
69
|
readonly "@eslint-react/hooks-extra/no-unnecessary-use-memo": "warn";
|
|
70
|
+
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
71
71
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
72
72
|
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
73
73
|
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
@@ -557,9 +557,9 @@ declare const rules$3: {
|
|
|
557
557
|
"@eslint-react/web-api/no-leaked-timeout"?: "off";
|
|
558
558
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
|
|
559
559
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
|
|
560
|
-
"@eslint-react/hooks-extra/no-useless-custom-hooks"?: "off";
|
|
561
560
|
"@eslint-react/hooks-extra/no-unnecessary-use-callback"?: "off";
|
|
562
561
|
"@eslint-react/hooks-extra/no-unnecessary-use-memo"?: "off";
|
|
562
|
+
"@eslint-react/hooks-extra/no-useless-custom-hooks"?: "off";
|
|
563
563
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
|
|
564
564
|
"@eslint-react/naming-convention/component-name"?: "off";
|
|
565
565
|
"@eslint-react/naming-convention/filename"?: "off";
|
package/dist/index.d.ts
CHANGED
|
@@ -65,9 +65,9 @@ declare const rules$b: {
|
|
|
65
65
|
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
66
66
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
67
67
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
|
|
68
|
-
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
69
68
|
readonly "@eslint-react/hooks-extra/no-unnecessary-use-callback": "warn";
|
|
70
69
|
readonly "@eslint-react/hooks-extra/no-unnecessary-use-memo": "warn";
|
|
70
|
+
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
71
71
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
72
72
|
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
73
73
|
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
@@ -557,9 +557,9 @@ declare const rules$3: {
|
|
|
557
557
|
"@eslint-react/web-api/no-leaked-timeout"?: "off";
|
|
558
558
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
|
|
559
559
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
|
|
560
|
-
"@eslint-react/hooks-extra/no-useless-custom-hooks"?: "off";
|
|
561
560
|
"@eslint-react/hooks-extra/no-unnecessary-use-callback"?: "off";
|
|
562
561
|
"@eslint-react/hooks-extra/no-unnecessary-use-memo"?: "off";
|
|
562
|
+
"@eslint-react/hooks-extra/no-useless-custom-hooks"?: "off";
|
|
563
563
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
|
|
564
564
|
"@eslint-react/naming-convention/component-name"?: "off";
|
|
565
565
|
"@eslint-react/naming-convention/filename"?: "off";
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __export = (target, all) => {
|
|
|
26
26
|
|
|
27
27
|
// package.json
|
|
28
28
|
var name = "@eslint-react/eslint-plugin";
|
|
29
|
-
var version = "1.21.0
|
|
29
|
+
var version = "1.21.0";
|
|
30
30
|
|
|
31
31
|
// src/configs/all.ts
|
|
32
32
|
var all_exports = {};
|
|
@@ -192,9 +192,9 @@ var rules3 = {
|
|
|
192
192
|
// Part: Hooks Extra
|
|
193
193
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
194
194
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn",
|
|
195
|
-
"@eslint-react/hooks-extra/no-useless-custom-hooks": "warn",
|
|
196
195
|
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "warn",
|
|
197
196
|
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "warn",
|
|
197
|
+
"@eslint-react/hooks-extra/no-useless-custom-hooks": "warn",
|
|
198
198
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
|
|
199
199
|
// Part: Naming Convention
|
|
200
200
|
"@eslint-react/naming-convention/component-name": "warn",
|
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ var __export = (target, all) => {
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var name = "@eslint-react/eslint-plugin";
|
|
18
|
-
var version = "1.21.0
|
|
18
|
+
var version = "1.21.0";
|
|
19
19
|
|
|
20
20
|
// src/configs/all.ts
|
|
21
21
|
var all_exports = {};
|
|
@@ -181,9 +181,9 @@ var rules3 = {
|
|
|
181
181
|
// Part: Hooks Extra
|
|
182
182
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
183
183
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn",
|
|
184
|
-
"@eslint-react/hooks-extra/no-useless-custom-hooks": "warn",
|
|
185
184
|
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "warn",
|
|
186
185
|
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "warn",
|
|
186
|
+
"@eslint-react/hooks-extra/no-useless-custom-hooks": "warn",
|
|
187
187
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
|
|
188
188
|
// Part: Naming Convention
|
|
189
189
|
"@eslint-react/naming-convention/component-name": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.21.0
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.18.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.18.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.18.1",
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-hooks-extra": "1.21.0
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-
|
|
61
|
-
"eslint-plugin-react-x": "1.21.0
|
|
53
|
+
"@eslint-react/eff": "1.21.0",
|
|
54
|
+
"@eslint-react/shared": "1.21.0",
|
|
55
|
+
"@eslint-react/types": "1.21.0",
|
|
56
|
+
"eslint-plugin-react-dom": "1.21.0",
|
|
57
|
+
"eslint-plugin-react-hooks-extra": "1.21.0",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.21.0",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.21.0",
|
|
60
|
+
"eslint-plugin-react-debug": "1.21.0",
|
|
61
|
+
"eslint-plugin-react-x": "1.21.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "^8.3.5",
|