1. Error prompt:
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.
Two, the solution
git commit -m "remarks information" --no-verify