Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit 908cefa

Browse files
committed
pre-commit: update and ban global zerolog logger
Signed-off-by: Sumner Evans <[email protected]>
1 parent 8646025 commit 908cefa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ repos:
2121
- id: go-mod-tidy
2222

2323
- repo: https://github.com/beeper/pre-commit-go
24-
rev: v0.3.1
24+
rev: v0.4.2
2525
hooks:
26+
- id: prevent-literal-http-methods
27+
- id: zerolog-ban-global-log
2628
- id: zerolog-ban-msgf
2729
- id: zerolog-use-stringer
28-
- id: prevent-literal-http-methods

0 commit comments

Comments
 (0)