eslint-config-react-app
should provide @babel/plugin-syntax-flow
and @babel/plugin-transform-react-jsx
#12456
Labels
Describe the bug
Installing
eslint-config-react-app
results in these two warnings:Environment
Yarn 3
Steps to reproduce
yarn install
Expected behavior
eslint-config-react-app
should correctly depend on@babel/plugin-syntax-flow
and@babel/plugin-transform-react-jsx
Actual behavior
Warning
The fix for this is either too add
@babel/plugin-syntax-flow
and@babel/plugin-transform-react-jsx
to thedependencies
ofeslint-config-react-app
'spackage.json
file or to itspeerDependencies
. I didn't know which is desired between the two (I assumepeerDependencies
, but I know ESLint can be finicky about nested dependencies), so I didn't want to cut a PR with the wrong change.The text was updated successfully, but these errors were encountered: