Skip to content

Commit 986fc9f

Browse files
committed
update golangci-lint to v1.64.2
- exportloopref is deprecated and deactivated so it should be removed from the disable list. - tenv is deprecated and was replaced by usetesting Signed-off-by: Paul Holzinger <[email protected]>
1 parent 8b6f14f commit 986fc9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ linters:
6161
- nonamedreturns
6262
- exhaustruct
6363
# deprecated linters
64-
- exportloopref
64+
- tenv
6565
linters-settings:
6666
errcheck:
6767
check-blank: false

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ BUILDTAGS += ${EXTRA_BUILDTAGS}
6262
# N/B: This value is managed by Renovate, manual changes are
6363
# possible, as long as they don't disturb the formatting
6464
# (i.e. DO NOT ADD A 'v' prefix!)
65-
GOLANGCI_LINT_VERSION := 1.63.4
65+
GOLANGCI_LINT_VERSION := 1.64.2
6666
PYTHON ?= $(shell command -v python3 python|head -n1)
6767
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
6868
# ~/.local/bin is not in PATH on all systems

0 commit comments

Comments
 (0)