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]>
  • Loading branch information
kwanhur authored Apr 6, 2022
1 parent 60731f5 commit 8e134e4
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 8e134e4

Please sign in to comment.