This is adapted from Commit convention.
npm i verify-commit-msg -D
"scripts": {
"verify-commit": "verify-commit-msg"
},
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run verify-commit
npm i simple-git-hooks -D
"simple-git-hooks": {
"commit-msg": "npm run verify-commit"
},