在 package.json 中修改为一下<br><br>"eslintConfig": {
在
package
.json 中修改为一下<br><br>
"eslintConfig"
: {
"extends"
:
"react-app"
,
"rules"
"no-undef"
"off"
"no-restricted-globals"
"no-unused-vars"
}