Skip to content

Commit

Permalink
ci: add commit message check hook
Browse files Browse the repository at this point in the history
The commita messages were not being verified.
  • Loading branch information
christian-hawk committed Mar 26, 2021
1 parent 224fbdd commit 297fe16
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

.git/hooks/commit-msg $1
60 changes: 60 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -94,6 +94,7 @@
"eslint-plugin-security": "^1.4.0",
"eslint-utils": "^2.1.0",
"fakeredis": "^2.0.0",
"git-commit-msg-linter": "^3.1.0",
"husky": "^5.2.0",
"lint-staged": "^10.5.4",
"mocha": "^8.3.0",
Expand Down

0 comments on commit 297fe16

Please sign in to comment.