react 關閉eslint 配置

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