Closed
Description
It appears that eslint-plugin-react-hooks
is not compatible with ESLint version 9.x.x.
When attempting to use ESLint 9.x.x with eslint-plugin-react-hooks
, I encounter dependency resolution issues, specifically that the plugin does not support ESLint 9.
Steps to reproduce:
- Install ESLint 9.x.x along with
eslint-plugin-react-hooks
. - Run ESLint or install dependencies.
- Encounter peer dependency conflict or related errors.
Expected behavior:
eslint-plugin-react-hooks
should support ESLint 9.x.x without errors.
Actual behavior:
- Peer dependency conflicts or errors occur during installation or usage of ESLint 9 with this plugin.
React version: "react": "18.3.1",
Link to code example:
The current behavior
npm install with --legacy-peer-dependencies
these are my packages
"eslint": "^9.8.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.0",
The expected behavior
npm i without the legacy peer flag