From 92b854165415e6dcaf9189d88241947966b0e352 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Wed, 10 Jul 2024 12:00:29 -0600 Subject: [PATCH] pre-commit: enforce go mod tidy, no literal HTTP methods Signed-off-by: Sumner Evans --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52a8cd3b..1382b815 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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