0
点赞
收藏
分享

微信扫一扫

用create-react-app构建的react项目怎么关闭eslint

快乐码农Alan007 2022-07-12 阅读 107

修改package.json

"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"no-undef": "off",
"no-restricted-globals": "off",
"no-unused-vars": "off"
}
},

 



举报

相关推荐

0 条评论