@eslint-react/eslint-plugin 1.29.1-beta.0 → 1.29.1-beta.2
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -1209,6 +1209,8 @@ declare const rules$2: {
|
|
|
1209
1209
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1210
1210
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
1211
1211
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
1212
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
1213
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
1212
1214
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
1213
1215
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
1214
1216
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
@@ -1841,6 +1843,8 @@ declare const rules$1: {
|
|
|
1841
1843
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1842
1844
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
1843
1845
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
1846
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
1847
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
1844
1848
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
1845
1849
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
1846
1850
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
@@ -2470,6 +2474,8 @@ declare const rules: {
|
|
|
2470
2474
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
2471
2475
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
2472
2476
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
2477
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
2478
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
2473
2479
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
2474
2480
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
2475
2481
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
package/dist/index.d.ts
CHANGED
|
@@ -1209,6 +1209,8 @@ declare const rules$2: {
|
|
|
1209
1209
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1210
1210
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
1211
1211
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
1212
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
1213
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
1212
1214
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
1213
1215
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
1214
1216
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
@@ -1841,6 +1843,8 @@ declare const rules$1: {
|
|
|
1841
1843
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1842
1844
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
1843
1845
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
1846
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
1847
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
1844
1848
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
1845
1849
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
1846
1850
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
@@ -2470,6 +2474,8 @@ declare const rules: {
|
|
|
2470
2474
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
2471
2475
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
2472
2476
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
2477
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
2478
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
2473
2479
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
2474
2480
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
2475
2481
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __export = (target, all) => {
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.29.1-beta.
|
|
28
|
+
var version = "1.29.1-beta.2";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -310,7 +310,9 @@ var rules11 = {
|
|
|
310
310
|
...rules8,
|
|
311
311
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
312
312
|
"@eslint-react/hooks-extra/no-useless-custom-hooks": "warn",
|
|
313
|
-
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn"
|
|
313
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
|
|
314
|
+
"@eslint-react/naming-convention/context-name": "warn",
|
|
315
|
+
"@eslint-react/naming-convention/use-state": "warn"
|
|
314
316
|
};
|
|
315
317
|
var plugins6 = {
|
|
316
318
|
...plugins,
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.29.1-beta.
|
|
17
|
+
var version = "1.29.1-beta.2";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -299,7 +299,9 @@ var rules11 = {
|
|
|
299
299
|
...rules8,
|
|
300
300
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
301
301
|
"@eslint-react/hooks-extra/no-useless-custom-hooks": "warn",
|
|
302
|
-
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn"
|
|
302
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
|
|
303
|
+
"@eslint-react/naming-convention/context-name": "warn",
|
|
304
|
+
"@eslint-react/naming-convention/use-state": "warn"
|
|
303
305
|
};
|
|
304
306
|
var plugins6 = {
|
|
305
307
|
...plugins,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.29.1-beta.
|
|
3
|
+
"version": "1.29.1-beta.2",
|
|
4
4
|
"description": "More than 80 high-quality linting rules for writing better React code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.25.0",
|
|
51
51
|
"@typescript-eslint/types": "^8.25.0",
|
|
52
52
|
"@typescript-eslint/utils": "^8.25.0",
|
|
53
|
-
"@eslint-react/eff": "1.29.1-beta.
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"
|
|
53
|
+
"@eslint-react/eff": "1.29.1-beta.2",
|
|
54
|
+
"eslint-plugin-react-debug": "1.29.1-beta.2",
|
|
55
|
+
"@eslint-react/shared": "1.29.1-beta.2",
|
|
56
|
+
"eslint-plugin-react-dom": "1.29.1-beta.2",
|
|
57
|
+
"eslint-plugin-react-hooks-extra": "1.29.1-beta.2",
|
|
58
|
+
"eslint-plugin-react-x": "1.29.1-beta.2",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.29.1-beta.2",
|
|
60
|
+
"eslint-plugin-react-naming-convention": "1.29.1-beta.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.4.0",
|