Use gomodguard_v2 in the linter config (closes #31)
check / check (push) Failing after 1s

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:
2026-09-21 15:25:37 +00:00
parent 40e9beea8c
commit f00438f084
+1
View File
@@ -16,6 +16,7 @@ linters:
- depguard # Dependency allow/block lists - depguard # Dependency allow/block lists
- godot # Requires comments to end with periods - godot # Requires comments to end with periods
- wsl # Deprecated, replaced by wsl_v5 - wsl # Deprecated, replaced by wsl_v5
- gomodguard # Deprecated, replaced by gomodguard_v2
- wrapcheck # Too verbose for internal packages - wrapcheck # Too verbose for internal packages
- varnamelen # Short names like db, id are idiomatic Go - varnamelen # Short names like db, id are idiomatic Go
settings: settings: