File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11repos :
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]
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
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments