Skip to content

Commit eebe6d1

Browse files
committed
ci: add pre-commit hook
1 parent 22480f4 commit eebe6d1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.0.1
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- repo: git://github.com/dnephin/pre-commit-golang
9+
rev: v0.4.0
10+
hooks:
11+
- id: golangci-lint
12+
- id: go-mod-tidy
13+
- repo: https://github.com/pinglin/conventional-pre-commit
14+
rev: v1.1.0
15+
hooks:
16+
- id: conventional-pre-commit
17+
stages: [commit-msg]

0 commit comments

Comments
 (0)