Migrate .golangci.yml from the deprecated gomodguard to gomodguard_v2 #248

Open
opened 2026-08-20 11:07:12 +02:00 by clawbot · 0 comments
Collaborator

Captured during the 1.0.0 release verification of next. Not a blocker — lint reports 0 issues. — but it is a deprecation warning on every lint run in this repo, so it is an action item rather than noise.

golangci-lint v2.12.2 emits:

level=warning msg="The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2."

Note .golangci.yml here is synced from the org-standard config in sneak/prompts (see #196), so the fix likely belongs upstream and should land there first rather than diverging this repo's copy.

Definition of done:

  • golangci-lint run emits no deprecation warning and still reports 0 issues.
  • The change is made in the org-standard config if that is where the linter is configured, with this repo re-synced from it, rather than forking a local copy.
Captured during the 1.0.0 release verification of `next`. Not a blocker — lint reports `0 issues.` — but it is a deprecation warning on every lint run in this repo, so it is an action item rather than noise. `golangci-lint` v2.12.2 emits: ``` level=warning msg="The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2." ``` Note `.golangci.yml` here is synced from the org-standard config in `sneak/prompts` (see https://git.eeqj.de/sneak/webhooker/issues/196), so the fix likely belongs upstream and should land there first rather than diverging this repo's copy. Definition of done: - `golangci-lint run` emits no deprecation warning and still reports `0 issues.` - The change is made in the org-standard config if that is where the linter is configured, with this repo re-synced from it, rather than forking a local copy.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/webhooker#248