Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Make eslint a peer dependency #523

Closed
@patsissons

Description

@patsissons

typescript-eslint-parser is now pulling in eslint@4.19.1, ideally it should be asking for a peer dependency of "eslint": ">=4.19.1". This would allow de-duplication of the eslint dependency in consumers of typescript-eslint-parser using a different version of eslint.

A current workaround is to pin the eslint dependency in a consuming project using a resolution. For example, to force using eslint@^5.0.0

"resolutions": {
  "eslint": "^5.0.0",
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions