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 <[email protected]>
Signed-off-by: Song Jian <[email protected]>
  • Loading branch information
kwanhur authored and Song Jian committed Jan 19, 2025
1 parent 3ce72c6 commit 334db33
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 334db33

Please sign in to comment.