Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)
npm install @chuyik/husky> Git hooks made easy
This is a fork of husky v4 with a few changes:
- prevents git hooks skipped on GUI app like Tower / SourceTree with run-node
- throws error if hook is skipped
- fix monorepo issue (https://github.com/typicode/husky/issues/677)
``sh``
yarn install --dev @chuyik/husky