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:
9393 - interfacebloat
9494 - loggercheck
9595 - reassign
96+ - ginkgolinter
97+ - gocheckcompilerdirectives
98+ - musttag
9699
97100linters-settings :
98101 dupl :
Original file line number Diff line number Diff line change 11# Copyright 2022 The Kubernetes Authors.
22# SPDX-License-Identifier: Apache-2.0
33
4- GOLANGCI_LINT_VERSION =v1.50.1
4+ GOLANGCI_LINT_VERSION =v1.51.2
55
66MYGOBIN = $(shell go env GOBIN)
77ifeq ($(MYGOBIN ) ,)
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ func (lbp *localizeBuiltinPlugins) localizeAll(node *yaml.RNode) error {
131131 // We rely on the build command to throw errors for nodes in
132132 // built-in plugins that are sequences when expected to be scalar,
133133 // and vice versa.
134+ //nolint: exhaustive
134135 switch node .YNode ().Kind {
135136 case yaml .SequenceNode :
136137 return errors .Wrap (node .VisitElements (lbp .localizeScalar ))
You can’t perform that action at this time.
0 commit comments