Browse Source

fix: update the linter so that it runs latest and disable debguard (#2806)

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Gergely Brautigam 2 years ago
parent
commit
efb6157195
2 changed files with 1 additions and 2 deletions
  1. 0 1
      .golangci.yaml
  2. 1 1
      Makefile

+ 0 - 1
.golangci.yaml

@@ -46,7 +46,6 @@ linters:
   enable:
     - asciicheck
     - bodyclose
-    - depguard
     - dogsled
     - dupl
     - errcheck

+ 1 - 1
Makefile

@@ -303,7 +303,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
 GOLANGCI_LINT ?= $(LOCALBIN)/golangci-lint
 
 ## Tool Versions
-GOLANGCI_VERSION := 1.52.2
+GOLANGCI_VERSION := 1.54.2
 KUBERNETES_VERSION := 1.28.x
 
 .PHONY: envtest