React version: 19.x
Steps To Reproduce
- Create a React project with
[email protected]
- Upgrade ESLint to version 10.0.0
- Run
npm install
Link to code example:
{
"devDependencies": {
"eslint": "^10.0.0",
"eslint-plugin-react-hooks": "^7.0.1"
}
}
The current behavior
npm error ERESOLVE could not resolve
npm error Could not resolve dependency:
npm error peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" from [email protected]
The expected behavior
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0"