Skip to content

Commit

Permalink
ci: relax nolintlint
Browse files Browse the repository at this point in the history
Hitting golangci/golangci-lint#3228 when
adding nolint.

So allow to ignore unused nolints.

(cherry picked from commit 4336f38)
  • Loading branch information
EmilienM committed Oct 30, 2023
1 parent 9315e2b commit 656fd0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ linters-settings:
- pkg: sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1beta1
alias: controlplanev1

nolintlint:
# https://github.com/golangci/golangci-lint/issues/3228
allow-unused: true
staticcheck:
go: "1.17"
stylecheck:
Expand Down

0 comments on commit 656fd0c

Please sign in to comment.