Disable the deprecated gomodguard linter (closes #116)
check / check (push) Failing after 2s
check / check (push) Failing after 2s
golangci-lint v2.12 deprecates gomodguard in favour of gomodguard_v2. With `default: all` both ran, and every lint run printed the deprecation warning. Disable the old name, the same way wsl is disabled for wsl_v5; gomodguard_v2 stays enabled. The old linter had no settings here, so there is nothing to carry over. Model: opus-5-5
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