Skip to content

Commit ced01f0

Browse files
committed
feat: define pre-commit hook
see https://pre-commit.com/index.html#new-hooks
1 parent 012eea2 commit ced01f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- id: conventional-pre-commit
2+
name: Conventional Commit
3+
entry: conventional-pre-commit.sh
4+
language: script
5+
description: Checks commit message for Conventional Commit formatting
6+
always_run: true
7+
stages: [commit-msg]

0 commit comments

Comments
 (0)