pre-commit: enforce go mod tidy, no literal HTTP methods

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-07-10 12:00:29 -06:00
parent 62d6145c14
commit 92b8541654
+2
View File
@@ -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