eslint-plugin-react-hooks-extra 2.8.3 → 2.8.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/README.md +0 -5
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -36,11 +36,6 @@ export default defineConfig(
|
|
|
36
36
|
);
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
> [!NOTE]
|
|
40
|
-
> Extended hooks rules that supplement the official `eslint-plugin-react-hooks` with additional patterns.
|
|
41
|
-
|
|
42
|
-
- [`no-direct-set-state-in-use-effect`](./hooks-extra-no-direct-set-state-in-use-effect) - Disallows direct `setState` calls in `useEffect` (🧪 Experimental)
|
|
43
|
-
|
|
44
39
|
## Rules
|
|
45
40
|
|
|
46
41
|
<https://eslint-react.xyz/docs/rules/overview#hooks-extra-rules>
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ const rules = { "react-hooks-extra/no-direct-set-state-in-use-effect": "warn" };
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region package.json
|
|
38
38
|
var name = "eslint-plugin-react-hooks-extra";
|
|
39
|
-
var version = "2.8.
|
|
39
|
+
var version = "2.8.4-beta.0";
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/utils/create-rule.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-hooks-extra",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.4-beta.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@typescript-eslint/types": "^8.54.0",
|
|
45
45
|
"@typescript-eslint/utils": "^8.54.0",
|
|
46
46
|
"ts-pattern": "^5.9.0",
|
|
47
|
-
"@eslint-react/ast": "2.8.
|
|
48
|
-
"@eslint-react/eff": "2.8.
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
47
|
+
"@eslint-react/ast": "2.8.4-beta.0",
|
|
48
|
+
"@eslint-react/eff": "2.8.4-beta.0",
|
|
49
|
+
"@eslint-react/shared": "2.8.4-beta.0",
|
|
50
|
+
"@eslint-react/core": "2.8.4-beta.0",
|
|
51
|
+
"@eslint-react/var": "2.8.4-beta.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^19.2.10",
|