Update golangci-lint version (1.49.0 -> 1.50.1) and enable linters dupword and testableexamples

This commit is contained in:
Oscar Utbult
2022-10-22 14:29:06 +02:00
parent 997e6fcc63
commit e16b0f0dfc
4 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2022 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
GOLANGCI_LINT_VERSION=v1.49.0
GOLANGCI_LINT_VERSION=v1.50.1
MYGOBIN = $(shell go env GOBIN)
ifeq ($(MYGOBIN),)