Prevent code from gradually degrading in quality.
You can bypass the hook using git commit --no-verify
Current checks:
- [WHITESPACE]
- [ESLINT]
- [SPELLING]
- [GIT_COMMIT_MESSAGE]
▶ brew install aspell
▶ npm install -g eslint eslint-config-airbnb eslint-plugin-react
[WHITESPACE] --> 👍 LGTM <-- "Looks Good To Me"
[ESLINT] --> 👍 LGTM
[GIT_COMMIT_MESSAGE] --> 🚫 Malformed git commit message. Re-edit? [y/n]
...