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

Not compatible with latest eslint version? #11

Closed
Andrenie365 opened this issue Oct 14, 2021 · 4 comments · Fixed by #14
Closed

Not compatible with latest eslint version? #11

Andrenie365 opened this issue Oct 14, 2021 · 4 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@Andrenie365
Copy link

Describe the Bug

When i attempt to upgrade to the latest eslint version,
it gives following error output:

While resolving: eslint-plugin-bpmn-io@0.12.0
Found: eslint@8.0.1
node_modules/eslint
dev eslint@"8.0.1" from the root project
peer eslint@">= 4.12.1" from babel-eslint@10.1.0
node_modules/babel-eslint
babel-eslint@"^10.1.0" from eslint-plugin-bpmn-io@0.12.0
node_modules/eslint-plugin-bpmn-io
dev eslint-plugin-bpmn-io@"^0.12.0" from the root project
peer eslint@">=7.0.0" from eslint-plugin-mocha@8.0.0
node_modules/eslint-plugin-mocha
eslint-plugin-mocha@"^8.0.0" from eslint-plugin-bpmn-io@0.12.0
node_modules/eslint-plugin-bpmn-io
dev eslint-plugin-bpmn-io@"^0.12.0" from the root project
peer eslint@">=5" from eslint-utils@3.0.0
node_modules/eslint/node_modules/eslint-utils
eslint-utils@"^3.0.0" from eslint@8.0.1

Could not resolve dependency:
peer eslint@"^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from eslint-plugin-bpmn-io@0.12.0
node_modules/eslint-plugin-bpmn-io
dev eslint-plugin-bpmn-io@"^0.12.0" from the root project

Conflicting peer dependency: eslint@7.32.0
node_modules/eslint
peer eslint@"^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from eslint-plugin-bpmn-io@0.12.0
node_modules/eslint-plugin-bpmn-io
dev eslint-plugin-bpmn-io@"^0.12.0" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Steps to Reproduce

Attempt to upgrade to eslint@latest

Expected Behavior

Upgrading previous versions have not given any problems.

Environment
VSCode NodeJS

eslint-plugin-bpmn-io : 0.12.0
eslint: 7.32

@Andrenie365 Andrenie365 added the bug Something isn't working label Oct 14, 2021
@nikku
Copy link
Member

nikku commented Oct 14, 2021

I'll have a look.

@nikku
Copy link
Member

nikku commented Oct 14, 2021

eslint@8 is freshly released. While we could mark it as supported certain downstream plug-ins we depend on (eslint-plugin-react) do not support it yet.

I suggest you to keep back the upgrade for the moment and allow plug-in authors to upgrade their plug-ins.

@nikku
Copy link
Member

nikku commented Oct 14, 2021

Currently blocked by eslint/eslint#15157, so indeed not compatible for the time being.

@Andrenie365
Copy link
Author

All right. Thank you for the reply 👍 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants