File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,9 @@ linters:
93
93
- interfacebloat
94
94
- loggercheck
95
95
- reassign
96
+ - ginkgolinter
97
+ - gocheckcompilerdirectives
98
+ - musttag
96
99
97
100
linters-settings :
98
101
dupl :
Original file line number Diff line number Diff line change 1
1
# Copyright 2022 The Kubernetes Authors.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- GOLANGCI_LINT_VERSION =v1.50.1
4
+ GOLANGCI_LINT_VERSION =v1.51.2
5
5
6
6
MYGOBIN = $(shell go env GOBIN)
7
7
ifeq ($(MYGOBIN ) ,)
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ func (lbp *localizeBuiltinPlugins) localizeAll(node *yaml.RNode) error {
131
131
// We rely on the build command to throw errors for nodes in
132
132
// built-in plugins that are sequences when expected to be scalar,
133
133
// and vice versa.
134
+ //nolint: exhaustive
134
135
switch node .YNode ().Kind {
135
136
case yaml .SequenceNode :
136
137
return errors .Wrap (node .VisitElements (lbp .localizeScalar ))
You can’t perform that action at this time.
0 commit comments