From f00438f084b6e2bcf638e12d480904b6a5a78012 Mon Sep 17 00:00:00 2001 From: sneak Date: Mon, 21 Sep 2026 15:25:37 +0000 Subject: [PATCH] Use gomodguard_v2 in the linter config (closes #31) 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 --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index 26b1610..8a90995 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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: