diff --git a/cli/command/formatter/tabwriter/tabwriter.go b/cli/command/formatter/tabwriter/tabwriter.go index e7473cd9bbdb..a03d94ab609c 100644 --- a/cli/command/formatter/tabwriter/tabwriter.go +++ b/cli/command/formatter/tabwriter/tabwriter.go @@ -12,7 +12,7 @@ // based on https://github.com/golang/go/blob/master/src/text/tabwriter/tabwriter.go Last modified 690ac40 on 31 Jan -//nolint:gocyclo,nakedret,unused // ignore linting errors, so that we can stick close to upstream +//nolint:gocyclo,gofumpt,nakedret,unused // ignore linting errors, so that we can stick close to upstream package tabwriter import ( diff --git a/dockerfiles/Dockerfile.lint b/dockerfiles/Dockerfile.lint index 2eee45c18f62..ddd903cc2790 100644 --- a/dockerfiles/Dockerfile.lint +++ b/dockerfiles/Dockerfile.lint @@ -6,7 +6,8 @@ ARG GO_VERSION=1.24.8 # It must be a supported tag in the docker.io/library/alpine image repository # that's also available as alpine image variant for the Golang version used. ARG ALPINE_VERSION=3.21 -ARG GOLANGCI_LINT_VERSION=v2.1.5 +# GOLANGCI_LINT_VERSION sets the version of the golangci/golangci-lint image to use. +ARG GOLANGCI_LINT_VERSION=v2.5.0 FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint