question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conflicts on ESLint version with eslint-config-standard

See original GitHub issue

Hi everyone,

From the version 8.0.0, we got an issue that you can also see in the CI of this project, but yarn is not really verbose about it in contrary of npm:

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-config-standard@16.0.3
npm WARN Found: eslint@8.11.0
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.11.0" from the root project
npm WARN   16 more (@nuxtjs/eslint-config, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from eslint-config-standard@16.0.3
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/eslint-config@9.0.0
npm WARN   node_modules/@nuxtjs/eslint-config

I think it is because the version of eslint-config-standard does not match the version 8 of ESLint. Has anyone got this issue ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
iamandrewlucacommented, Mar 14, 2022

Temporary I installed version eslint-config-standard@17

npm i -D eslint-config-standard@next
0reactions
pi0commented, May 2, 2022

Hi. Would you please check against v10 with a clean lockfile if issue still happens to reopen this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency conflict when upgrading eslint-plugin-promise to ...
I would like to upgrade eslint-plugin-promise to that latest version without running into above issue. Note, this might be related to standard/ ...
Read more >
Eslint rules block conflicts with extended config, and linting is ...
To me, this suggests that the 'rules' block is conflicting with the 'extends' block, but my understanding is that the rules should override...
Read more >
Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
@codeyourfuture/eslint-config-standard - npm
A standard ESLint configuration for all CYF examples/projects. Versioning. This configuration uses SemVer, interpreted as follows: Patch release ...
Read more >
How to make ESLint work with Prettier avoiding conflicts and ...
In this post I try to give a couple of indications to configure VSCode properly and avoid problems and conflicts. Prerequisites. -Visual Studio ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found