Skip to content

Pin peer dependency on @typescript-eslint/parser to avoid breaking when typescript-estree internals change #505

@rybesh

Description

@rybesh

Since typescript-eslint-language-service relies on internal APIs of typescript-estree, it is effectively locked to particular versions of @typescript-eslint/parser. So putting "@typescript-eslint/parser": ">= 5.0.0” in peerDependencies doesn’t make sense: new installs of typescript-eslint-language-service get recent versions of @typescript-eslint/typescript-estree that no longer work with it. It should be pinned to 5.26.0 as in devDependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions