Closed
Description
Describe the bug
eslint-plugin-react
conflicts with CRA base eslint config
Steps to reproduce
- Create a react-app
- Setup Eslint and extend
eslint-plugin-react
- Removed the default Eslint config in
package.json
yarn build
Failed to compile.
Plugin "react" was conflicted between "./.eslintrc" and "BaseConfig » /Users/xxxx/xxx/project/web/node_modules/eslint-config-react-app/base.js".
Did you try recovering your dependencies?
I have tried to reinstall dependency and start a fresh react-app project
Environment
Binaries:
Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
Yarn: 1.19.2 - /usr/local/bin/yarn
npm: 8.3.0 - ~/.nvm/versions/node/v16.13.1/bin/npm
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: 5.0.0 => 5.0.0
npmGlobalPackages:
create-react-app: Not Found