Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

peerDependencies incompatible with dependency @eslint/compat #585

Copy link
Copy link
Open
@silverwind

Description

@silverwind
Issue body actions

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/compat@1.2.4
npm warn Found: eslint@8.57.0
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/compat@1.2.4
npm warn node_modules/eslint-plugin-github/node_modules/@eslint/compat
npm warn   @eslint/compat@"^1.2.3" from eslint-plugin-github@5.1.3
npm warn   node_modules/eslint-plugin-github

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.