Skip to content

Commit

Permalink
hack/tools: use same golangci-lint as Kubernetes
Browse files Browse the repository at this point in the history
Depending on the more recent golangci-lint 1.43.0 also pulls in a newer mock
package, which caused problems when trying to use the logcheck plugin in
Kubernetes because there were problems with generated mock files when using the
newer mock.

By sticking with the same golangci-lint as Kubernetes such problems get avoided
and the tools can be updated independently in Kubernetes.
  • Loading branch information
pohly committed Mar 21, 2022
1 parent 4a4a786 commit 5667dc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1,134 deletions.
3 changes: 1 addition & 2 deletions hack/tools/go.mod
Expand Up @@ -3,7 +3,6 @@ module k8s.io/klog/hack/tools
go 1.15

require (
github.com/golangci/golangci-lint v1.43.0
golang.org/x/exp v0.0.0-20210220032938-85be41e4509f
golang.org/x/tools v0.1.7
golang.org/x/tools v0.1.3
)

0 comments on commit 5667dc2

Please sign in to comment.