react 关闭eslint 配置
在 package.json 中修改为一下
"eslintConfig": { "extends": "react-app", "rules": { "no-undef": "off", "no-restricted-globals": "off", "no-unused-vars": "off" } }
- 上一篇 »React引入css的三种方式小结
- 下一篇 ».html文件 eslint参上
在 package.json 中修改为一下
"eslintConfig": { "extends": "react-app", "rules": { "no-undef": "off", "no-restricted-globals": "off", "no-unused-vars": "off" } }