Skip to content

peerDependencies incompatible with dependency @eslint/compat #585

Open
@silverwind

Description

@silverwind

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.

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