Skip to content

Removing @types/eslint as peer dependency #762

@brettz9

Description

@brettz9

Hi,

We (at eslint-plugin-jsdoc) have installed a package (eslint-config-canonical) which depends on eslint-plugin-prettier, but its presence in our dependencies is causing TypeScript errors apparently as a result of your package's inclusion of @types/eslint as a peer dependency.

In ESLint 9, @types/eslint is no longer needed, with ESLint having its own types, and indeed its presence can cause conflicts when other packages are trying to rely on the types of up-to-date ESLint 9.

Would you be able to remove this from peerDependencies? I think ESLint 8 users should be able to still manually install @types/eslint if this is an issue for them.

Thanks!

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