Created by: lukyth
Close #7759 (closed)
Description
From https://github.com/facebook/create-react-app/issues/7759, install eslint-config-react-app
will produce a warning:
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".
They will be fixed by widening the peer dependency values for eslint-plugin-flowtype
and eslint-plugin-react-hooks
to include the latest major.
Acceptance criteria
-
eslint-plugin-flowtype
in this repo should be3.x || 4.x
. -
eslint-plugin-react-hooks
in this repo should be1.x || 2.x
. - Installing
eslint-config-react-app
should not produce the warning above.