Skip to content

Dependabot bumping eslint to version 7 while it's incompatible with @vue/cli-plugin-eslint #3243

@strokesws

Description

@strokesws

Package manager/ecosystem
JavaScript/NPM
Manifest contents prior to update
https://github.com/strokesws/personal-website/blob/dev/package.json
Updated dependency
eslint from 6.8.0 to 7.21.0
What you expected to see, versus what you actually saw
I expect dependabot not to suggest an updated to an incompatible dependency. If I try to manually update eslint to 7 I receive a warning from NPM
Images of the diff or a link to the PR, issue or logs
https://github.com/strokesws/personal-website/pull/20

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: eslint@7.21.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"7.21.0" from the root project
npm ERR!   peer eslint@"^5.0.0 || ^6.0.0 || ^7.0.0" from @typescript-eslint/eslint-plugin@4.16.1
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     peer @typescript-eslint/eslint-plugin@"^4.4.0" from @vue/eslint-config-typescript@7.0.0
npm ERR!     node_modules/@vue/eslint-config-typescript
npm ERR!       dev @vue/eslint-config-typescript@"^7.0.0" from the root project
npm ERR!     dev @typescript-eslint/eslint-plugin@"^4.16.1" from the root project
npm ERR!   8 more (@typescript-eslint/experimental-utils, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">= 1.6.0 < 7.0.0" from @vue/cli-plugin-eslint@4.5.11
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR!   dev @vue/cli-plugin-eslint@"~4.5.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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions