Skip to content

Commit 5c3534d

Browse files
stubbiclaude
andcommitted
ci(lint): also exclude internal/webhook/ from SA1019
admission.CustomValidator / CustomDefaulter type declarations live there. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3720a31 commit 5c3534d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ linters:
6161
# - scheme.Builder
6262
# The deprecated forms still work for v1.0; migrating to the typed
6363
# equivalents is tracked as a v1.1 cleanup.
64-
- path: (api/v1|cmd|internal/controller)/
64+
- path: (api/v1|cmd|internal/(controller|webhook))/
6565
linters: [staticcheck]
6666
text: 'SA1019'
6767

0 commit comments

Comments
 (0)