Skip to content

Commit

Permalink
chore: lint commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Aug 3, 2021
1 parent a4a6b41 commit eea0897
Show file tree
Hide file tree
Showing 4 changed files with 788 additions and 24 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
3 changes: 3 additions & 0 deletions Utilities/prepare.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if (process.env.CI === undefined) {
require('husky').install();
}
Loading

0 comments on commit eea0897

Please sign in to comment.