Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin "react" was conflicted between "./.eslintrc" and "BaseConfig #11893

Closed
eakl opened this issue Jan 6, 2022 · 1 comment
Closed

Plugin "react" was conflicted between "./.eslintrc" and "BaseConfig #11893

eakl opened this issue Jan 6, 2022 · 1 comment

Comments

@eakl
Copy link

eakl commented Jan 6, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant