Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to upgrade dependency tree to support eslint@9 #147

Open
rkristelijn opened this issue Nov 7, 2024 · 0 comments
Open

Request to upgrade dependency tree to support eslint@9 #147

rkristelijn opened this issue Nov 7, 2024 · 0 comments

Comments

@rkristelijn
Copy link

When installing on the latest eslint I wouldn't expect errors.

❯ npm i -D eslint-plugin-sonar
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   dev eslint@"^9.8.0" from the root project
npm error   peer eslint@"^8.0.0 || ^9.0.0" from [email protected]
npm error   node_modules/eslint-plugin-sonar
npm error     dev eslint-plugin-sonar@"*" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/parser
npm error   peer @typescript-eslint/parser@"^7.0.0" from [email protected]
npm error   node_modules/eslint-plugin-sonar
npm error     dev eslint-plugin-sonar@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

eslint-plugin-sonar depends on eslint@8 instead. Would like to have eslint@9 supported so I don't need to downgrade more than 12 dependencies

@rkristelijn rkristelijn changed the title upgrade dependency tree to support eslint@9 Requeste to upgrade dependency tree to support eslint@9 Nov 7, 2024
@rkristelijn rkristelijn changed the title Requeste to upgrade dependency tree to support eslint@9 Request to upgrade dependency tree to support eslint@9 Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant