Skip to content

Migrate golangci-lint to v2#940

Merged
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:golangci-lint-v2
May 21, 2025
Merged

Migrate golangci-lint to v2#940
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:golangci-lint-v2

Conversation

@egibs
Copy link
Copy Markdown
Member

@egibs egibs commented May 21, 2025

This PR migrates golangci-lint to v2 which only involved installing the new version via make and then running out/linters/golangci-lint-v2.1.6-x86_64 migrate; I re-added most of the comments after the fact.

The only big change is that the runtime.timeout value is no longer needed because v2 defaults to no timeout.

egibs added 2 commits May 21, 2025 07:22
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested review from eslerm and tstromberg May 21, 2025 12:49
@egibs egibs merged commit 332c159 into chainguard-dev:main May 21, 2025
12 checks passed
@egibs egibs deleted the golangci-lint-v2 branch May 28, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants