react 关闭eslint 配置

在 package.json 中修改成一下"eslintConfig": {
    "extends": "react-app",
    "rules": {
      "no-undef": "off",
      "no-restricted-globals": "off",
      "no-unused-vars": "off"
    }
  }
相关文章
相关标签/搜索