eslint-plugin-prettierx icon indicating copy to clipboard operation
eslint-plugin-prettierx copied to clipboard

Unable to Install Package with ESLint v8.x as a Peer Dependency

Open dhurlburtusa opened this issue 3 years ago • 0 comments

I have a project which is using ESLint v8.x (the latest major version; released earlier this year). I am unable (without --force) to install eslint-plugin-prettierx because the ESLint peer dependency of this package is declared to be ^7.0.0.

If you are okay with an open-ended range, then I'd recommend using >=7.0 instead of a caret-range which won't include other major versions. Of course there is the problem when a major version comes along that isn't compatible.

Note: As a temporary work-around, you can use the --force option with the npm command:

npm install --save-dev --force eslint-plugin-prettierx

dhurlburtusa avatar Dec 22 '21 17:12 dhurlburtusa