Make eslint a peer dependency
patsissons opened this issue · 2 comments
patsissons commented
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",
}milesj commented
+1
platinumazure commented
Hi @patsissons, thanks for the issue!
I agree that ESLint should probably not be a dependency anymore in this project. I'll try to take a look at fixing this week.