Skip to content

Commit d1be7ed

Browse files
committed
ci: relax nolintlint
Hitting golangci/golangci-lint#3228 when adding nolint. So allow to ignore unused nolints.
1 parent f534622 commit d1be7ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ linters-settings:
126126
- pkg: sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1beta1
127127
alias: controlplanev1
128128

129+
nolintlint:
130+
# https://github.com/golangci/golangci-lint/issues/3228
131+
allow-unused: true
129132
staticcheck:
130133
go: "1.17"
131134
stylecheck:

0 commit comments

Comments
 (0)