创建 React 项目后出现 Plugin react was conflicted between package.json and BaseConfig 解决

  • 2024年3月1日

错误日志大概为:

ShellScript
[eslint] Plugin react was conflicted between package.json ... and BaseConfig ...

除了处理 package.json 中冲突的包之外还可以删除 package.json 中的以下配置:

JSON
"eslintConfig": {
  "extends": [
    "react-app",
    "react-app/jest"
  ]
},
0
希望看到您的想法,请您发表评论x