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.

npm@3 warn missing eslint-plugin-react a non react project

See original GitHub issue

Seems 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:closed
  • Created 8 years ago
  • Reactions:11
  • Comments:37 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
Arcanemaguscommented, Apr 12, 2016

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?

4reactions
ljharbcommented, Apr 19, 2016
Read more comments on GitHub >

github_iconTop 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 >

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