Skip to content

Commit e66fc92

Browse files
committed
updating golint to version 1.58.0
Signed-off-by: Adam D. Cornett <adc@redhat.com>
1 parent 807f934 commit e66fc92

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.golangci.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ linters-settings:
4141
- github.com/onsi/ginkgo/v2
4242
goimports:
4343
local-prefixes: github.com/redhat-openshift-ecosystem/preflight-trigger
44+
depguard:
45+
rules:
46+
main:
47+
list-mode: lax
48+
files:
49+
- !$test
50+
allow:
51+
- $gostd
4452

4553
output:
46-
format: tab
54+
formats:
55+
- format: tab

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ GOBIN=$(PROJECT_DIR)/bin go install $(2) ;\
6666
endef
6767

6868
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
69-
GOLANGCI_LINT_VERSION ?= v1.52.2
69+
GOLANGCI_LINT_VERSION ?= v1.58.0
7070
golangci-lint: $(GOLANGCI_LINT)
7171
$(GOLANGCI_LINT):
7272
$(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION))

0 commit comments

Comments
 (0)