Bump golangci-lint to v2.0.2 and migrate .golangci.yaml to v2 format

This commit is contained in:
Andy Pitcher 2025-03-26 10:36:56 +01:00 committed by vardhaman22
parent ac6d81a514
commit 83db2b2eb6
2 changed files with 14 additions and 12 deletions

View File

@ -1,13 +1,15 @@
version: "2"
linters:
disable-all: true
default: none
enable:
- asasalint
- asciicheck
- bidichk
- errcheck
- gofmt
- gosimple
- gosec
- govet
- misspell
- unused
- asasalint
- asciicheck
- bidichk
- errcheck
- gosec
- govet
- misspell
- unused
formatters:
enable:
- gofmt

View File

@ -3,7 +3,7 @@ KIND_VERSION ?= 0.27.0
KUBERNETES_VERSION ?= v$(KUBECTL_VERSION)
# renovate: datasource=github-release-attachments depName=golangci/golangci-lint
GOLANGCI_VERSION = v1.64.7
GOLANGCI_VERSION = v2.0.2
# renovate: datasource=github-release-attachments depName=aquasecurity/kube-bench
KUBE_BENCH_VERSION ?= v0.10.4