chore(backend): re-vendor .golangci.yml with gomodguard_v2 (closes #41) #71

Merged
clawbot merged 1 commits from chore/golangci-gomodguard-v2 into next 2026-09-29 10:56:01 +02:00
1 Commits
Author SHA1 Message Date
clawbot 074b7bde15 chore(backend): re-vendor .golangci.yml with gomodguard_v2 (closes #41)
check / check (push) Successful in 1m20s
golangci-lint v2.12 deprecates gomodguard, which the org .golangci.yml
reached through "default: all", so every lint run printed a
deprecation warning. backend/.golangci.yml is now the current copy
from sneak/prompts, fetched unedited: gomodguard is disabled and
gomodguard_v2 enabled with the org block list. The new file also
turns depguard on with its test-support rule, which forbids
net/http/httptest outside test code. netwatch has no test-support
packages of its own to add to that rule, so the file is identical to
the canonical one. backend/script/lint checks the new sha256. The
backend raises no findings under the new rules.

Model: opus-5-5
2026-09-29 08:23:08 +00:00