Skip to content

Commit 8807c0a

Browse files
committed
golangci-lint: Exclude +kubebuilder annotation lines from lll
1 parent e7c3e4f commit 8807c0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ linters:
2828
rules:
2929
- name: comment-spacings
3030
- name: import-shadowing
31+
3132
exclusions:
3233
generated: lax
3334
rules:
35+
- linters:
36+
- lll
37+
source: "^\\s*//.*\\+kubebuilder"
3438
- linters:
3539
- lll
3640
path: api/*

0 commit comments

Comments
 (0)