Skip to content

Commit

Permalink
feat: add husky commintlint
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Aug 1, 2022
1 parent 65ed031 commit e607936
Show file tree
Hide file tree
Showing 4 changed files with 1,108 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
7 changes: 7 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# Disable in CI
[ -n "$CI" ] && exit 0

npx commitlint --edit
Loading

0 comments on commit e607936

Please sign in to comment.