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.

eslint latest version incompatibility

See original GitHub issue
  1. Installed eslint
  2. Tried to install airbnb-eslint-config and get the following errors:

UNMET PEER DEPENDENCY eslint@^3.3.0 npm WARN EPEERINVALID eslint-config-airbnb@10.0.1 requires a peer of eslint@^3.3.0 but none was installed.

eslint latest is 3.3.1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ljharbcommented, Aug 26, 2016

^3.3.0 is a semver range which supports everything from 3.3.0 - 4.0.0 (not including 4.0.0). Check out http://semver.npmjs.com to see a visualization.

To install airbnb-eslint-config with all the right peer dependencies, use the command in the package README:

(
  export PKG=eslint-config-airbnb;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
)
0reactions
ljharbcommented, Jan 31, 2017

A project that doesn’t have its own linting settings shouldn’t be linted; that’s what I’d hope newcomers would be learning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating to v8.0.0 - ESLint - Pluggable JavaScript Linter
To address: Make sure you upgrade to at least Node.js 12.22.0 when using ESLint v8.0.0. One important thing to double check is the...
Read more >
eslint ^8 version incompatible - facebook/create-react-app
i was creating a eslint plugin,and i used create-react-app cli to created ... incompatible versions is known to cause hard-to-debug issues.
Read more >
Lift-Off I Setup Client Error - eslint version incompatibility?
Hey there, I'm having an issue with eslint and running npm start in the client directory. While in /client directory in terminal, after...
Read more >
eslint
An AST-based pattern checker for JavaScript.. Latest version: 8.30.0, last published: 11 days ago. Start using eslint in your project by ...
Read more >
error eslint@5.6.0: The engine "node" is incompatible with ...
npm install node@latest ... Assuming nvm is installed, use it to see which version of node you're using, then use it to change...
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