Skip to content

Commit

Permalink
Bump golangci-lint to 1.58.0
Browse files Browse the repository at this point in the history
Also update the config file to the correct format.

Signed-off-by: Brad P. Crochet <brad@redhat.com>
  • Loading branch information
bcrochet authored and acornett21 committed May 7, 2024
1 parent 7f1ff3a commit 53ba0b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ linters-settings:
- github.com/onsi/ginkgo/v2
goimports:
local-prefixes: github.com/redhat-openshift-ecosystem/openshift-preflight
depguard:
rules:
main:
list-mode: lax
files:
- !$test
allow:
- $gostd

output:
format: tab
formats:
- format: tab
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ clean:
$(shell if [ -f "$(BINARY)-$(GOOS)-$(GOARCH)" ]; then rm -f $(BINARY)-$(GOOS)-$(GOARCH); fi)))

GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
GOLANGCI_LINT_VERSION ?= v1.52.2
GOLANGCI_LINT_VERSION ?= v1.58.0
golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT):
$(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION))
Expand Down

0 comments on commit 53ba0b7

Please sign in to comment.