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.

Peer dependencies of eslint-config-react-app are outdated

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
tonix-tuftcommented, Jan 5, 2020

I still get the warning though. Is there a fix? (I have the eslint-plugin-react-hooks version ^2.3.0 installed)

npm WARN rollup-plugin-peer-deps-external@2.2.0 requires a peer of rollup@^0.x but none is installed. You must install peer dependencies yourself.
4reactions
lukythcommented, Oct 6, 2019

I’ll upgrade those two then.

Read more comments on GitHub >

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

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