npm@3 warn missing eslint-plugin-react a non react project
See original GitHub issueSeems like eslint-plugin-react was moved to peer dependency, and now I’m getting
├── UNMET PEER DEPENDENCY eslint-plugin-react@^4.0.0
I’m using eslint-config-airbnb/base, for a non react project.
How can I get rid of this warning without installing eslint-plugin-react? Is there any plan for splitting /base to a separate package?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:11
- Comments:37 (7 by maintainers)
Top Results From Across the Web
eslint-plugin-react - npm
Start using eslint-plugin-react in your project by running `npm i ... It will default to "latest" and warn if missing, and to "detect"...
Read more >Changelog - JavaScript Standard Style
A small change to make the plugin compatible with browserify which does not affect behavior. Fixed. eslint-plugin-react@3.3.1 (CHANGELOG). Fix object rest/ ...
Read more >reactjs - Warning: React version not specified in 'eslint-plugin ...
The problem is in the eslint-plugin-react v.7.30.1. Downgrade it to v.7.30.0 and it will work "eslint-plugin-react": "^7.30.0".
Read more >eslint-plugin-react | Yarn - Package Manager
npm install eslint eslint-plugin-react --save-dev ... All notable changes to this project will be documented in this file. This project adheres to Semantic ......
Read more >eslint-plugin-react-app - npm package - Snyk
Security Policy: No. We found a way for you to contribute to the project! Looks like eslint-plugin-react-app is missing a security policy.
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
It looks like v7.0.0 added another peerDependency of
eslint-plugin-jsx-a11y
.This isn’t mentioned in the README.md, but I’m assuming that this is also only necessary if you are in a React project so it is another useless thing that has to be installed for non-React projects.
Any word on when the separate package that doesn’t have all the React stuff is going to be published?
Released as https://www.npmjs.com/package/eslint-config-airbnb-base, v1.0.0.