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.
  • Loading branch information
EmilienM committed Oct 27, 2023
1 parent 42ee02f commit 1ac7302
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 1ac7302

Please sign in to comment.