Replace the deprecated gomodguard with gomodguard_v2 by re-vendoring .golangci.yml (closes #57) #186

Merged
clawbot merged 2 commits from issue-57-gomodguard-v2 into next 2026-10-04 18:34:55 +02:00
2 Commits
Author SHA1 Message Date
clawbot c1a85ec5a2 Record the gomodguard_v2 migration in TODO.md (closes #57)
check / check (push) Failing after 2s
Adds the Completed Steps entry for re-vendoring the canonical
.golangci.yml, which switches off the deprecated gomodguard and runs
gomodguard_v2 and depguard in its place.

Model: opus-5-5
2026-10-04 16:25:55 +00:00
clawbot e5efc22f75 Vendor the current canonical .golangci.yml
Fetched unchanged from the main branch of sneak/prompts. It switches
off the deprecated gomodguard, whose deprecation warning was printed on
every lint run, and turns on its successor gomodguard_v2 with the
shared module block list. It also turns on depguard with the rule that
keeps net/http/httptest out of files that are not tests. pixa has no
deny entries of its own to carry forward, and the tree needs no code
changes under the new linters.

Model: opus-5-5
2026-10-04 16:25:55 +00:00