treewide: ban global zerolog

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-10-30 09:27:58 -06:00
parent aa7a2d186b
commit 0046975aa5
3 changed files with 6 additions and 7 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
@@ -21,8 +21,9 @@ repos:
- id: go-mod-tidy
- repo: https://github.com/beeper/pre-commit-go
rev: v0.3.1
rev: v0.4.0
hooks:
- id: prevent-literal-http-methods
- id: zerolog-ban-global-log
- id: zerolog-ban-msgf
- id: zerolog-use-stringer
- id: prevent-literal-http-methods