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 25, 2023
1 parent fb652b5 commit d3bf888
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 d3bf888

Please sign in to comment.