Skip to content

Commit

Permalink
Add staticcheck pre-commit hook (#1019)
Browse files Browse the repository at this point in the history
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: Song Jian <songjian@yf-networks.com>
  • Loading branch information
kwanhur authored and Song Jian committed Dec 29, 2024
1 parent 7d2438a commit 3a0d54a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@
#
repos:
- repo: git://github.com/dnephin/pre-commit-golang
rev: v0.4.0
rev: v0.5.0
hooks:
- id: go-fmt
- id: go-vet
- id: go-unit-tests
- id: go-build

- repo: git://github.com/Bahjat/pre-commit-golang
rev: c3086eea8af86847dbdff2e46b85a5fe3c9d9656
hooks:
- id: go-static-check

0 comments on commit 3a0d54a

Please sign in to comment.