Skip to content

Commit 290d678

Browse files
committed
chore: add precommit hook
1 parent d0ff9ed commit 290d678

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: golangci-lint
5+
name: golangci-lint
6+
entry: golangci-lint run --enable errcheck
7+
types: [go]
8+
language: system
9+
pass_filenames: false

0 commit comments

Comments
 (0)