iview-admin
iview-admin copied to clipboard
vue-cli-service lint .如何关闭
每次提交代码之前都会以下报错,导致无法提交: running pre-commit hook: lint-staged ❯ Running tasks for *.js ✖ vue-cli-service lint → 1 error found. git add ❯ Running tasks for *.vue ✖ vue-cli-service lint → 5 errors found. git add ✖ vue-cli-service lint found some errors. Please fix them and try committing again.
有没什么方法关闭这个eslint
I also encountered the same problem
删除 package.json 里面的 "gitHooks": { "pre-commit": "lint-staged" },
多谢🙏
| | Marthers 邮箱:[email protected] |
Signature is customized by Netease Mail Master
在2018年10月24日 19:06,吴小新 写道:
删除 package.json 里面的 "gitHooks": { "pre-commit": "lint-staged" },
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
删除 package.json 里面的 "gitHooks": { "pre-commit": "lint-staged" }, Thank you very much