Skip to content

Commit d868f92

Browse files
committed
chore: add pre-commit
0 parents  commit d868f92

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
default_install_hook_types:
2+
- pre-commit
3+
- commit-msg
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v6.0.0
8+
hooks:
9+
- id: check-yaml
10+
- id: end-of-file-fixer
11+
- id: trailing-whitespace
12+
- repo: https://github.com/compilerla/conventional-pre-commit
13+
rev: v4.3.0
14+
hooks:
15+
- id: conventional-pre-commit
16+
stages: [commit-msg]

0 commit comments

Comments
 (0)