一、错误提示:

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