Replace the deprecated gomodguard with gomodguard_v2 by re-vendoring .golangci.yml (closes #57)
check / check (push) Failing after 2s
check / check (push) Failing after 2s
.golangci.yml is the canonical copy from the main branch of sneak/prompts, fetched unchanged. 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. The owner approved this config in sneak/prompts. Model: opus-5-5
This commit was merged in pull request #186.
This commit is contained in:
@@ -53,6 +53,11 @@ P2: security: referer blacklist
|
||||
not exist is passed over; any other error, such as a directory on the path
|
||||
that pixa may not enter, aborts startup naming the file, as a file that does
|
||||
not parse already did.
|
||||
- 2026-10-04 `.golangci.yml` re-vendored from the canonical copy (closes #57):
|
||||
the deprecated `gomodguard` is switched off, so lint runs print no
|
||||
deprecation warning; its successor `gomodguard_v2` runs with the shared
|
||||
module block list, and `depguard` keeps `net/http/httptest` out of files that
|
||||
are not tests. The tree needed no code changes.
|
||||
- 2026-10-04 deployment guide and example Caddy config (closes #89):
|
||||
"Deployment" in `README.md` says what the reverse proxy in front of pixa must
|
||||
do (terminate TLS; pass `Host`, `Origin` and `Referer` on unchanged; set
|
||||
|
||||
Reference in New Issue
Block a user