@eslint-react/eslint-plugin 2.0.3 → 2.0.4-beta.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.ts +6 -0
- package/dist/index.js +4 -2
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -312,7 +312,9 @@ declare namespace recommended_d_exports {
|
|
|
312
312
|
}
|
|
313
313
|
declare const name$3 = "@eslint-react/recommended";
|
|
314
314
|
declare const rules$3: {
|
|
315
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
315
316
|
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
317
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
316
318
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
317
319
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
318
320
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
@@ -498,7 +500,9 @@ declare const rules$2: {
|
|
|
498
500
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
499
501
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
500
502
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
503
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
501
504
|
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
505
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
502
506
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
503
507
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
504
508
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
@@ -679,7 +683,9 @@ declare const rules$1: {
|
|
|
679
683
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
680
684
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
681
685
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
686
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
682
687
|
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
688
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
683
689
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
684
690
|
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
685
691
|
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
|
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
11
|
var name = "@eslint-react/eslint-plugin";
|
|
12
|
-
var version = "2.0.
|
|
12
|
+
var version = "2.0.4-beta.0";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
|
@@ -352,7 +352,9 @@ const rules$2 = {
|
|
|
352
352
|
...rules$13,
|
|
353
353
|
...rules$8,
|
|
354
354
|
...rules$6,
|
|
355
|
-
"@eslint-react/
|
|
355
|
+
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
356
|
+
"@eslint-react/naming-convention/context-name": "warn",
|
|
357
|
+
"@eslint-react/naming-convention/use-state": "warn"
|
|
356
358
|
};
|
|
357
359
|
const plugins$2 = {
|
|
358
360
|
...plugins$6,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4-beta.0",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"@typescript-eslint/types": "^8.45.0",
|
|
43
43
|
"@typescript-eslint/utils": "^8.45.0",
|
|
44
44
|
"ts-api-utils": "^2.1.0",
|
|
45
|
-
"@eslint-react/kit": "2.0.
|
|
46
|
-
"eslint-
|
|
47
|
-
"
|
|
48
|
-
"eslint-plugin-react-
|
|
49
|
-
"
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"eslint-plugin-react-
|
|
52
|
-
"eslint-
|
|
53
|
-
"eslint-plugin-react-
|
|
45
|
+
"@eslint-react/kit": "2.0.4-beta.0",
|
|
46
|
+
"@eslint-react/eff": "2.0.4-beta.0",
|
|
47
|
+
"eslint-plugin-react-dom": "2.0.4-beta.0",
|
|
48
|
+
"eslint-plugin-react-debug": "2.0.4-beta.0",
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "2.0.4-beta.0",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "2.0.4-beta.0",
|
|
51
|
+
"eslint-plugin-react-x": "2.0.4-beta.0",
|
|
52
|
+
"@eslint-react/shared": "2.0.4-beta.0",
|
|
53
|
+
"eslint-plugin-react-web-api": "2.0.4-beta.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"tsdown": "^0.15.5",
|