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.

install eslint , and eslint --init, warns requires a peer of eslint ...

See original GitHub issue

is relevant this warning ? I 've installed using:

yarn add eslint
eslint --init
? How would you like to configure ESLint? Use a popular style guide
? Which style guide do you want to follow? Airbnb
? Do you use React? Yes
? What format do you want your config file to be in? JSON


npm WARN eslint-config-airbnb@15.1.0 requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@15.1.0 requires a peer of eslint-plugin-import@^2.7.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@15.1.0 requires a peer of eslint-plugin-react@^7.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb-base@11.3.2 requires a peer of eslint-plugin-import@^2.7.0 but none is installed. You must install peer dependencies yourself.

must I install by hand or just do nothing?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
webmobilescommented, Sep 28, 2017

i’ve delete yarn.lock, node-modules folder, reinstall accord the guide and it’s working, thanks for your help !

0reactions
ljharbcommented, Sep 28, 2017

You need eslint 4, not eslint 3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"requires a peer of eslint@^6.0.0 but none is installed" · Issue #4
If you npm init -y a new NPM package in an empty directory then npm install ... "requires a peer of eslint@^6.0.0 but...
Read more >
eslint/eslint - Gitter
npm WARN eslint-plugin-react@6.10.3 requires a peer of eslint@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
Read more >
npm - Installing eslint in VS code - getting errors - Stack Overflow
You must install peer dependencies yourself. npm WARN eslint-plugin-import@2.9.0 requires a peer of eslint@2.x - 4.x but none is installed.
Read more >
eslint - npm
ESLint uses Espree for JavaScript parsing. ESLint uses an AST to evaluate patterns in code. ESLint is completely pluggable, every single rule is ......
Read more >
Getting Started with ESLint - Pluggable JavaScript Linter
It is also possible to install ESLint globally rather than locally (using npm install eslint --global ). However, this is not recommended, and...
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