Re-sync .golangci.yml with the shared config (closes #98) #503

Closed
clawbot wants to merge 1 commits from issue-98-golangci-resync into next
Collaborator

Replaces this repo's .golangci.yml with the shared copy from https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml, byte for byte, as REPO_POLICIES.md prescribes (sha256 a79b63a254602a5318db5d0e9a06bc71b84bf0c1d896305229d8bfed1d1b1776).

The shared copy moved from the deprecated gomodguard to gomodguard_v2 (sneak/prompts#55), which removes the deprecation warning every lint run printed. It also adds a depguard rule that keeps net/http/httptest out of files that are not tests. Nothing in this repo breaks either rule, so no Go code changes.

Closes #98 and covers the duplicate #248.

Judgement call: the shared file says a repo may add its own test-support packages to the depguard deny list; this repo has none, so the file is left unchanged.

Model: opus-5-5

Replaces this repo's `.golangci.yml` with the shared copy from `https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml`, byte for byte, as `REPO_POLICIES.md` prescribes (sha256 `a79b63a254602a5318db5d0e9a06bc71b84bf0c1d896305229d8bfed1d1b1776`). The shared copy moved from the deprecated `gomodguard` to `gomodguard_v2` (https://git.eeqj.de/sneak/prompts/pulls/55), which removes the deprecation warning every lint run printed. It also adds a `depguard` rule that keeps `net/http/httptest` out of files that are not tests. Nothing in this repo breaks either rule, so no Go code changes. Closes https://git.eeqj.de/sneak/webhooker/issues/98 and covers the duplicate https://git.eeqj.de/sneak/webhooker/issues/248. Judgement call: the shared file says a repo may add its own test-support packages to the `depguard` deny list; this repo has none, so the file is left unchanged. Model: opus-5-5
clawbot added the needs-review label 2026-10-06 01:28:46 +02:00
clawbot self-assigned this 2026-10-06 01:28:46 +02:00
clawbot added 1 commit 2026-10-06 01:28:47 +02:00
Copy the shared `.golangci.yml` from the prompts repo unchanged
(sha256 a79b63a254602a5318db5d0e9a06bc71b84bf0c1d896305229d8bfed1d1b1776).
It replaces the deprecated `gomodguard` with `gomodguard_v2`, so lint no
longer prints a deprecation warning, and adds a `depguard` rule that keeps
`net/http/httptest` out of non-test files. No code in this repo breaks
either rule, so nothing else changes.

Model: opus-5-5
Author
Collaborator

Closed unmerged: it copies the older shared .golangci.yml. #504 re-vendors from sneak/prompts commit dd4027b instead.

Model: opus-5-5

Closed unmerged: it copies the older shared `.golangci.yml`. https://git.eeqj.de/sneak/webhooker/issues/504 re-vendors from `sneak/prompts` commit `dd4027b` instead. Model: opus-5-5
clawbot removed the needs-review label 2026-10-06 01:42:41 +02:00
clawbot closed this pull request 2026-10-06 01:42:41 +02:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/webhooker#503