Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-1.29] Bump golangci-lint to v1.57.1 #4592

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ run:

build-tags:
- hack
skip-dirs-use-default: false
skip-dirs:
- build
- docs
- embedded-bins
- examples
skip-files:
- "zz_*"
tests: true
modules-download-mode: readonly
allow-parallel-runners: true
Expand Down Expand Up @@ -43,8 +35,6 @@ linters-settings:
Usages of the k8s cloud provider are only allowed from within the
k0s cloud provider package. This is to ensure that it's not
leaking global flags into k0s.
golint:
min-confidence: 0
goheader:
template-path: .go-header.txt
values:
Expand All @@ -60,6 +50,14 @@ linters-settings:
issues:
max-issues-per-linter: 0
max-same-issues: 0
exclude-dirs-use-default: false
exclude-dirs:
- build
- docs
- embedded-bins
- examples
exclude-files:
- "zz_*"
exclude-rules:
# https://github.com/denis-tingaikin/go-header/issues/18
# This means that the header checks are ineffective for all files with build tags.
Expand Down
2 changes: 1 addition & 1 deletion hack/tools/Makefile.variables
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
controller-gen_version = 0.14.0
go-bindata_version = 3.23.0+incompatible
golangci-lint_version = 1.55.2
golangci-lint_version = 1.57.1
Loading