Compare commits
1 Commits
5a1303bb2c
...
1c903bae5e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c903bae5e |
@@ -61,15 +61,20 @@ linters:
|
|||||||
Test-support code belongs in test files and in packages whose
|
Test-support code belongs in test files and in packages whose
|
||||||
directory name ends in test, not in the shipped binary.
|
directory name ends in test, not in the shipped binary.
|
||||||
# Only decisions already recorded in the Go package defaults are
|
# Only decisions already recorded in the Go package defaults are
|
||||||
# listed here. Entries match the module path exactly (the default
|
# listed here. An entry matches the module path exactly unless it
|
||||||
# match-type), so a differently-versioned module path is unaffected.
|
# sets a match-type.
|
||||||
gomodguard_v2:
|
gomodguard_v2:
|
||||||
blocked:
|
blocked:
|
||||||
- module: github.com/rs/zerolog
|
- module: github.com/rs/zerolog
|
||||||
recommendations:
|
recommendations:
|
||||||
- log/slog
|
- log/slog
|
||||||
reason: "Structured logging is stdlib log/slog."
|
reason: "Structured logging is stdlib log/slog."
|
||||||
|
# Prefix, because the pre-fork module's later releases are
|
||||||
|
# separate module paths (.../redis/v7, .../redis/v8) that an
|
||||||
|
# exact match would let through. The successor is under
|
||||||
|
# github.com/redis/go-redis/, which this prefix does not cover.
|
||||||
- module: github.com/go-redis/redis
|
- module: github.com/go-redis/redis
|
||||||
|
match-type: prefix
|
||||||
recommendations:
|
recommendations:
|
||||||
- github.com/redis/go-redis/v9
|
- github.com/redis/go-redis/v9
|
||||||
reason: "Pre-fork module; use the maintained go-redis v9."
|
reason: "Pre-fork module; use the maintained go-redis v9."
|
||||||
|
|||||||
Reference in New Issue
Block a user