Disable the deprecated gomodguard linter so golangci-lint uses its gomodguard_v2 replacement, mirroring the existing wsl/wsl_v5 handling. Removes the deprecation warning from the lint output; behaviour is unchanged since default: all already enables gomodguard_v2. Model: opus-4-8
This commit is contained in:
@@ -16,6 +16,7 @@ linters:
|
||||
- depguard # Dependency allow/block lists
|
||||
- godot # Requires comments to end with periods
|
||||
- wsl # Deprecated, replaced by wsl_v5
|
||||
- gomodguard # Deprecated, replaced by gomodguard_v2
|
||||
- wrapcheck # Too verbose for internal packages
|
||||
- varnamelen # Short names like db, id are idiomatic Go
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user