Skip to content

Commit 9cc3bb0

Browse files
committed
chore: add conventional commits and end-of-file-fixer hooks
1 parent ac79f56 commit 9cc3bb0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
repos:
2+
- repo: https://github.com/compilerla/conventional-pre-commit
3+
rev: v4.0.0
4+
hooks:
5+
- id: conventional-pre-commit
6+
stages: [commit-msg]
27
- repo: https://github.com/pre-commit/pre-commit-hooks
38
rev: v6.0.0
49
hooks:
@@ -8,10 +13,11 @@ repos:
813
- id: check-vcs-permalinks
914
- id: destroyed-symlinks
1015
- id: detect-private-key
16+
- id: end-of-file-fixer
1117
- id: mixed-line-ending
1218
- id: trailing-whitespace
1319
- repo: https://github.com/antonbabenko/pre-commit-terraform
14-
rev: v1.100.0
20+
rev: v1.104.0
1521
hooks:
1622
- id: terraform_validate
1723
args:

0 commit comments

Comments
 (0)