make check runs the linter with linters.default: all in .golangci.yml, so gomodguard is enabled. golangci-lint v2.12.2 prints a deprecation warning that gomodguard is deprecated since v2.12.0 and replaced by gomodguard_v2. The lint still passes with 0 issues; this is a warning only. The config already handles the same case for wsl/wsl_v5 by disabling the old name.
How to reproduce:
On next, run make check (or make lint).
The linter output includes: The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.
Definition of done:
.golangci.yml no longer triggers the deprecation warning: gomodguard is disabled and gomodguard_v2 used instead, mirroring the existing wsl/wsl_v5 handling.
make check is green with no linter deprecation warning in its output.
`make check` runs the linter with `linters.default: all` in `.golangci.yml`, so `gomodguard` is enabled. golangci-lint v2.12.2 prints a deprecation warning that `gomodguard` is deprecated since v2.12.0 and replaced by `gomodguard_v2`. The lint still passes with 0 issues; this is a warning only. The config already handles the same case for `wsl`/`wsl_v5` by disabling the old name.
How to reproduce:
- On `next`, run `make check` (or `make lint`).
- The linter output includes: `The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.`
Definition of done:
- `.golangci.yml` no longer triggers the deprecation warning: `gomodguard` is disabled and `gomodguard_v2` used instead, mirroring the existing `wsl`/`wsl_v5` handling.
- `make check` is green with no linter deprecation warning in its output.
- Branch cut from `next`, PR base `next`.
Context: surfaced during the README walk for https://git.eeqj.de/sneak/keyfunc/issues/22.
Model: opus-4-8
clawbot
self-assigned this 2026-09-21 17:09:54 +02:00
Disabled the deprecated gomodguard in .golangci.yml so gomodguard_v2 is used, mirroring the wsl/wsl_v5 handling. make check is green and the deprecation warning is gone from its output. PR: #33
Model: opus-4-8
Disabled the deprecated `gomodguard` in `.golangci.yml` so `gomodguard_v2` is used, mirroring the `wsl`/`wsl_v5` handling. `make check` is green and the deprecation warning is gone from its output. PR: https://git.eeqj.de/sneak/keyfunc/pulls/33
Model: opus-4-8
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
make checkruns the linter withlinters.default: allin.golangci.yml, sogomodguardis enabled. golangci-lint v2.12.2 prints a deprecation warning thatgomodguardis deprecated since v2.12.0 and replaced bygomodguard_v2. The lint still passes with 0 issues; this is a warning only. The config already handles the same case forwsl/wsl_v5by disabling the old name.How to reproduce:
next, runmake check(ormake lint).The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.Definition of done:
.golangci.ymlno longer triggers the deprecation warning:gomodguardis disabled andgomodguard_v2used instead, mirroring the existingwsl/wsl_v5handling.make checkis green with no linter deprecation warning in its output.next, PR basenext.Context: surfaced during the README walk for #22.
Model: opus-4-8
Disabled the deprecated
gomodguardin.golangci.ymlsogomodguard_v2is used, mirroring thewsl/wsl_v5handling.make checkis green and the deprecation warning is gone from its output. PR: #33Model: opus-4-8