@eslint-react/eslint-plugin 1.36.0-next.2 → 1.36.1-beta.1
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 +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -202,7 +202,7 @@ declare const plugins$6: {
|
|
|
202
202
|
extensions?: readonly string[];
|
|
203
203
|
ignoreFilesWithoutCode?: boolean;
|
|
204
204
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
205
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
205
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
};
|
|
@@ -237,7 +237,7 @@ declare const plugins$6: {
|
|
|
237
237
|
extensions?: readonly string[];
|
|
238
238
|
ignoreFilesWithoutCode?: boolean;
|
|
239
239
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
240
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
240
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
241
241
|
};
|
|
242
242
|
};
|
|
243
243
|
"@eslint-react/web-api": {
|
|
@@ -1424,7 +1424,7 @@ declare const plugins$2: {
|
|
|
1424
1424
|
extensions?: readonly string[];
|
|
1425
1425
|
ignoreFilesWithoutCode?: boolean;
|
|
1426
1426
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1427
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1427
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1428
1428
|
};
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
@@ -1459,7 +1459,7 @@ declare const plugins$2: {
|
|
|
1459
1459
|
extensions?: readonly string[];
|
|
1460
1460
|
ignoreFilesWithoutCode?: boolean;
|
|
1461
1461
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1462
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1462
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1463
1463
|
};
|
|
1464
1464
|
};
|
|
1465
1465
|
"@eslint-react/web-api": {
|
|
@@ -2073,7 +2073,7 @@ declare const plugins$1: {
|
|
|
2073
2073
|
extensions?: readonly string[];
|
|
2074
2074
|
ignoreFilesWithoutCode?: boolean;
|
|
2075
2075
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2076
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2076
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2077
2077
|
};
|
|
2078
2078
|
};
|
|
2079
2079
|
};
|
|
@@ -2108,7 +2108,7 @@ declare const plugins$1: {
|
|
|
2108
2108
|
extensions?: readonly string[];
|
|
2109
2109
|
ignoreFilesWithoutCode?: boolean;
|
|
2110
2110
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2111
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2111
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2112
2112
|
};
|
|
2113
2113
|
};
|
|
2114
2114
|
"@eslint-react/web-api": {
|
|
@@ -2721,7 +2721,7 @@ declare const plugins: {
|
|
|
2721
2721
|
extensions?: readonly string[];
|
|
2722
2722
|
ignoreFilesWithoutCode?: boolean;
|
|
2723
2723
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2724
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2724
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2725
2725
|
};
|
|
2726
2726
|
};
|
|
2727
2727
|
};
|
|
@@ -2756,7 +2756,7 @@ declare const plugins: {
|
|
|
2756
2756
|
extensions?: readonly string[];
|
|
2757
2757
|
ignoreFilesWithoutCode?: boolean;
|
|
2758
2758
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2759
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2759
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2760
2760
|
};
|
|
2761
2761
|
};
|
|
2762
2762
|
"@eslint-react/web-api": {
|
|
@@ -3291,7 +3291,7 @@ declare const _default: {
|
|
|
3291
3291
|
extensions?: readonly string[];
|
|
3292
3292
|
ignoreFilesWithoutCode?: boolean;
|
|
3293
3293
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3294
|
-
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
3294
|
+
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3295
3295
|
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3296
3296
|
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3297
3297
|
readonly "hooks-extra/no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.d.ts
CHANGED
|
@@ -202,7 +202,7 @@ declare const plugins$6: {
|
|
|
202
202
|
extensions?: readonly string[];
|
|
203
203
|
ignoreFilesWithoutCode?: boolean;
|
|
204
204
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
205
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
205
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
};
|
|
@@ -237,7 +237,7 @@ declare const plugins$6: {
|
|
|
237
237
|
extensions?: readonly string[];
|
|
238
238
|
ignoreFilesWithoutCode?: boolean;
|
|
239
239
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
240
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
240
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
241
241
|
};
|
|
242
242
|
};
|
|
243
243
|
"@eslint-react/web-api": {
|
|
@@ -1424,7 +1424,7 @@ declare const plugins$2: {
|
|
|
1424
1424
|
extensions?: readonly string[];
|
|
1425
1425
|
ignoreFilesWithoutCode?: boolean;
|
|
1426
1426
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1427
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1427
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1428
1428
|
};
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
@@ -1459,7 +1459,7 @@ declare const plugins$2: {
|
|
|
1459
1459
|
extensions?: readonly string[];
|
|
1460
1460
|
ignoreFilesWithoutCode?: boolean;
|
|
1461
1461
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1462
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1462
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1463
1463
|
};
|
|
1464
1464
|
};
|
|
1465
1465
|
"@eslint-react/web-api": {
|
|
@@ -2073,7 +2073,7 @@ declare const plugins$1: {
|
|
|
2073
2073
|
extensions?: readonly string[];
|
|
2074
2074
|
ignoreFilesWithoutCode?: boolean;
|
|
2075
2075
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2076
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2076
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2077
2077
|
};
|
|
2078
2078
|
};
|
|
2079
2079
|
};
|
|
@@ -2108,7 +2108,7 @@ declare const plugins$1: {
|
|
|
2108
2108
|
extensions?: readonly string[];
|
|
2109
2109
|
ignoreFilesWithoutCode?: boolean;
|
|
2110
2110
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2111
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2111
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2112
2112
|
};
|
|
2113
2113
|
};
|
|
2114
2114
|
"@eslint-react/web-api": {
|
|
@@ -2721,7 +2721,7 @@ declare const plugins: {
|
|
|
2721
2721
|
extensions?: readonly string[];
|
|
2722
2722
|
ignoreFilesWithoutCode?: boolean;
|
|
2723
2723
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2724
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2724
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2725
2725
|
};
|
|
2726
2726
|
};
|
|
2727
2727
|
};
|
|
@@ -2756,7 +2756,7 @@ declare const plugins: {
|
|
|
2756
2756
|
extensions?: readonly string[];
|
|
2757
2757
|
ignoreFilesWithoutCode?: boolean;
|
|
2758
2758
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2759
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2759
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2760
2760
|
};
|
|
2761
2761
|
};
|
|
2762
2762
|
"@eslint-react/web-api": {
|
|
@@ -3291,7 +3291,7 @@ declare const _default: {
|
|
|
3291
3291
|
extensions?: readonly string[];
|
|
3292
3292
|
ignoreFilesWithoutCode?: boolean;
|
|
3293
3293
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3294
|
-
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
3294
|
+
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3295
3295
|
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3296
3296
|
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3297
3297
|
readonly "hooks-extra/no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.1-beta.1",
|
|
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.26.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.26.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.26.1",
|
|
53
|
-
"@eslint-react/eff": "1.36.
|
|
54
|
-
"eslint-
|
|
55
|
-
"eslint-plugin-react-dom": "1.36.
|
|
56
|
-
"
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-
|
|
53
|
+
"@eslint-react/eff": "1.36.1-beta.1",
|
|
54
|
+
"@eslint-react/shared": "1.36.1-beta.1",
|
|
55
|
+
"eslint-plugin-react-dom": "1.36.1-beta.1",
|
|
56
|
+
"eslint-plugin-react-hooks-extra": "1.36.1-beta.1",
|
|
57
|
+
"eslint-plugin-react-naming-convention": "1.36.1-beta.1",
|
|
58
|
+
"eslint-plugin-react-web-api": "1.36.1-beta.1",
|
|
59
|
+
"eslint-plugin-react-x": "1.36.1-beta.1",
|
|
60
|
+
"eslint-plugin-react-debug": "1.36.1-beta.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.4.0",
|