vuejs / eslint-config-prettier

`eslint-config-prettier` for `create-vue` setups
MIT License
66 stars 8 forks source link

[Feature Request] support eslint-plugin-prettier@v4 #5

Closed Mister-Hope closed 2 years ago

Mister-Hope commented 2 years ago

See titlte.

I am not sure if we need this package anymore. If we don't, please make some changes in readme.

csntr commented 2 years ago

@Mister-Hope What did you do to fix it? Did you downgrade to 3?

basickarl commented 2 years ago
karl@basickarl MINGW64 /d/Development/langurama/web (main)
$ npm install --save-exact --save-dev @vue/eslint-config-prettier@6.0.0
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: web@0.1.0
npm ERR! Found: eslint-plugin-prettier@4.0.0
npm ERR! node_modules/eslint-plugin-prettier
npm ERR!   dev eslint-plugin-prettier@"4.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-prettier@"^3.1.0" from @vue/eslint-config-prettier@6.0.0
npm ERR! node_modules/@vue/eslint-config-prettier
npm ERR!   dev @vue/eslint-config-prettier@"6.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\karl\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\karl\AppData\Local\npm-cache\_logs\2021-12-22T19_39_45_680Z-debug.log

I'm upgrading package versions and this one complains when I upgraded eslint-plugin-prettier to 4.0.0. I have the same question, is this package needed? Or should I downgrade to v3?