git commit提交时报错husky > pre-commit (node v10.16.3)

一、错误提示:

husky > npm run -s precommit (node v8.11.3)

Running tasks for *.{js,jsx} [started]
eslint --fix [started]
eslint --fix [failed]

Running tasks for *.{js,jsx} [failed]

× "eslint --fix" found some errors. Please fix them and try committing again.

二、解决方案

git commit -m "备注信息" --no-verify
原文地址:https://www.cnblogs.com/goloving/p/14778855.html