standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow eslint-plugin-promise v6 as peer dependency

J3m5 opened this issue · comments

commented

What version of this package are you using?
16.0.3

What operating system, Node.js, and npm version?
Linux Mint 20.2 | Node.js 16.13.1 | npm 8.3.0

What happened?
I upgraded eslint-plugin-promise to version 6.0 and run npm install

npm WARN ERESOLVE overriding peer dependency
npm WARN Found: eslint-plugin-promise@5.2.0
npm WARN node_modules/eslint-plugin-promise
npm WARN   dev eslint-plugin-promise@"6.0.0" from the root project
npm WARN   1 more (eslint-config-standard)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from eslint-config-standard@16.0.3
npm WARN node_modules/eslint-config-standard
npm WARN   dev eslint-config-standard@"16.0.3" from the root project
npm WARN   1 more (standard)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: eslint-plugin-promise@6.0.0
npm ERR! node_modules/eslint-plugin-promise
npm ERR!   dev eslint-plugin-promise@"6.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from eslint-config-standard@16.0.3
npm ERR! node_modules/eslint-config-standard
npm ERR!   dev eslint-config-standard@"16.0.3" 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.

What did you expect to happen?
npm install not failing

Are you willing to submit a pull request to fix this bug?
Yes

Can we merge this? :D

commented

Looks like dependabot disagree
TonyRL/docker-notify#31 (comment)
😄