install eslint , and eslint --init, warns requires a peer of eslint ...
See original GitHub issueis 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:
- Created 6 years ago
- Comments:9
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i’ve delete yarn.lock, node-modules folder, reinstall accord the guide and it’s working, thanks for your help !
You need eslint 4, not eslint 3.