pre-commit: enforce go mod tidy, no literal HTTP methods
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
@@ -18,9 +18,11 @@ repos:
|
||||
- "-w"
|
||||
- id: go-vet-mod
|
||||
- id: go-staticcheck-repo-mod
|
||||
- id: go-mod-tidy
|
||||
|
||||
- repo: https://github.com/beeper/pre-commit-go
|
||||
rev: v0.3.1
|
||||
hooks:
|
||||
- id: zerolog-ban-msgf
|
||||
- id: zerolog-use-stringer
|
||||
- id: prevent-literal-http-methods
|
||||
|
||||
Reference in New Issue
Block a user