Skip to content

Commit 3c6da4e

Browse files
committed
pre-commit: update all
Signed-off-by: Sumner Evans <[email protected]>
1 parent 1c9a461 commit 3c6da4e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
exclude_types: [markdown]
@@ -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

chatwoot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
_ "github.com/jackc/pgx/v4/stdlib"
1616
"github.com/rs/zerolog"
1717
"github.com/rs/zerolog/hlog"
18-
globallog "github.com/rs/zerolog/log"
18+
globallog "github.com/rs/zerolog/log" // zerolog-allow-global-log
1919
"go.mau.fi/util/dbutil"
2020
"gopkg.in/yaml.v2"
2121
"maunium.net/go/mautrix"

0 commit comments

Comments
 (0)