Peer dependencies of eslint-config-react-app are outdated
See original GitHub issueIs your proposal related to a problem?
Yes.
I got this warning when I install eslint-config-react-app
warning " > eslint-config-react-app@5.0.2" has incorrect peer dependency "eslint-plugin-flowtype@3.x".
warning " > eslint-config-react-app@5.0.2" has incorrect peer dependency "eslint-plugin-react-hooks@1.x".
Turns out eslint-plugin-react-hooks
is already at 2.1.1
now, and eslint-plugin-flowtype
is at 4.3.0
.
Describe the solution you’d like
I can update eslint-plugin-react-hooks
and eslint-plugin-flowtype
to the latest version if it’s a good idea.
Describe alternatives you’ve considered
Make those two a dependencies instead of peer dependencies (https://github.com/facebook/create-react-app/issues/6129).
Additional context
None.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to fix the peer dependencies Installation problem
You must install peer dependencies yourself. npm WARN eslint-config-react-app@4.0.1 requires a peer of eslint@5.x but none is installed. You ...
Read more >eslint-config-react-app-with-peer-deps - npm package
ESLint configuration used by Create React App, including its peer dependencies, but als dependencies. Visit Snyk Advisor to see a full health ...
Read more >Set Up ESLint - The newline Guide to Modernizing an ...
We've got a few more dependencies we need to install for ESLint to work properly with this Create React App application. Here are...
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 >Managing Dependencies
Peer dependencies ( peerDependencies field in package.json) are dependencies that ... To understand which dependencies can be updated, run npm outdated :
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 Free
Top 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
I still get the warning though. Is there a fix? (I have the
eslint-plugin-react-hooks
version^2.3.0
installed)I’ll upgrade those two then.