Skip to content

Commit 9219ce8

Browse files
committed
Update golangci-lint to v1.42.1, enable errname
Signed-off-by: Thomas Stromberg <[email protected]>
1 parent 4994b77 commit 9219ce8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.golangci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ linters:
107107
- dupl
108108
- durationcheck
109109
- errcheck
110-
# errname is only available in golangci-lint v1.42.0+ - wait until v1.43 is available to settle
111-
# - errname
110+
- errname
112111
- errorlint
113112
- exhaustive
114113
- exportloopref

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# BEGIN: lint-install .
33
# http://github.com/tinkerbell/lint-install
44

5-
GOLINT_VERSION ?= v1.42.0
5+
GOLINT_VERSION ?= v1.42.1
66
HADOLINT_VERSION ?= v2.7.0
77
SHELLCHECK_VERSION ?= v0.7.2
88
YAMLLINT_VERSION ?= 1.26.3

0 commit comments

Comments
 (0)