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

peerDependencies incompatible with dependency @eslint/compat #585

Open
silverwind opened this issue Dec 8, 2024 · 0 comments
Open

peerDependencies incompatible with dependency @eslint/compat #585

silverwind opened this issue Dec 8, 2024 · 0 comments

Comments

@silverwind
Copy link

silverwind commented Dec 8, 2024

This package depends on "@eslint/compat": "^1.2.3" which specifies:

  "peerDependencies": {
    "eslint": "^9.10.0"
  },

which is incompatible with the module's peer dependencies:

"eslint": "^8 || ^9"

This results in a npm warning upon installation when eslint@8 is present:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @eslint/[email protected]
npm warn Found: [email protected]
npm warn node_modules/eslint
npm warn   dev eslint@"8.57.0" from the root project
npm warn   41 more (@babel/eslint-parser, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional eslint@"^9.10.0" from @eslint/[email protected]
npm warn node_modules/eslint-plugin-github/node_modules/@eslint/compat
npm warn   @eslint/compat@"^1.2.3" from [email protected]
npm warn   node_modules/eslint-plugin-github

The peer dependency was added in eslint/rewrite#106.

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