-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed as not planned
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues and my issue is unique
- My issue appears in the command-line and not only in the text editor
Description Overview
We support eslint@9 but the peerDependencies do not include it. This causes npm import failure when using current npm versions.
Steps to repro:
- Update to
eslint@9 - Install
[email protected] - Examine the console output
Expected:
eslint-plugin-react install ok
Actual:
eslint-plugin-react install fails with
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8" from [email protected]
npm ERR! node_modules/eslint-plugin-react
npm ERR! dev eslint-plugin-react@"7.34.1" from the root project
Environment:
node: v20.12.2
npm: 10.5.0
The fail will downgrade to a warning if npm legacy-peer-deps is used, but we should address the root cause.
Expected Behavior
eslint-plugin-react should install ok
eslint-plugin-react version
v7.34.1
eslint version
v9.0.0
node version
v20.12.2