File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ linters:
106106 - asciicheck
107107 - bodyclose
108108 - cyclop
109- - deadcode
110109 - dogsled
111110 - dupl
112111 - durationcheck
@@ -128,7 +127,6 @@ linters:
128127 - goprintffuncname
129128 - gosimple
130129 - govet
131- - ifshort
132130 - importas
133131 - ineffassign
134132 - makezero
@@ -142,19 +140,18 @@ linters:
142140 # disabling for the initial iteration of the linting tool
143141 # - promlinter
144142 - revive
145- - rowserrcheck
146- - sqlclosecheck
143+ # - rowserrcheck - disabled because of generics, https://github.com/golangci/golangci-lint/issues/2649
144+ # - sqlclosecheck - disabled because of generics, https://github.com/golangci/golangci-lint/issues/2649
147145 - staticcheck
148- - structcheck
146+ # - structcheck - disabled because of generics, https://github.com/golangci/golangci-lint/issues/2649
149147 - stylecheck
150148 - thelper
151149 - tparallel
152150 - typecheck
153151 - unconvert
154152 - unparam
155153 - unused
156- - varcheck
157- - wastedassign
154+ # - wastedassign - disabled because of generics, https://github.com/golangci/golangci-lint/issues/2649
158155 - whitespace
159156
160157 # Disabled linters, due to being misaligned with Go practices
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ hadolint-lint: $(HADOLINT_BIN)
5454 $(HADOLINT_BIN ) $(shell find . -name "* Dockerfile")
5555
5656GOLANGCI_LINT_CONFIG := $(LINT_ROOT ) /.golangci.yml
57- GOLANGCI_LINT_VERSION ?= v1.47.2
57+ GOLANGCI_LINT_VERSION ?= v1.50.0
5858GOLANGCI_LINT_BIN := $(LINT_ROOT ) /out/linters/golangci-lint-$(GOLANGCI_LINT_VERSION ) -$(LINT_ARCH )
5959$(GOLANGCI_LINT_BIN ) :
6060 mkdir -p $(LINT_ROOT ) /out/linters
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ hadolint-lint: $(HADOLINT_BIN)
6161
6262{{ if .Go -}}
6363GOLANGCI_LINT_CONFIG := $(LINT_ROOT)/.golangci.yml
64- GOLANGCI_LINT_VERSION ?= v1.47.2
64+ GOLANGCI_LINT_VERSION ?= v1.50.0
6565GOLANGCI_LINT_BIN := $(LINT_ROOT)/out/linters/golangci-lint-$(GOLANGCI_LINT_VERSION)-$(LINT_ARCH)
6666$(GOLANGCI_LINT_BIN):
6767 mkdir -p $(LINT_ROOT)/out/linters
You can’t perform that action at this time.
0 commit comments