Skip to content

Commit 114837a

Browse files
committed
Bump KAL & add the notimestamps linter
1 parent ff9f91e commit 114837a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci-kal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ linters:
3030
- "ssatags" # Ensure array fields have the appropriate listType markers
3131
- "statusoptional" # Ensure all first children within status should be optional.
3232
- "statussubresource" # All root objects that have a `status` field should have a status subresource.
33+
- "notimestamp" # Prevents usage of 'Timestamp' fields
3334
- "uniquemarkers" # Ensure that types and fields do not contain more than a single definition of a marker that should only be present once.
3435

3536
# Per discussion in July 2024, we are keeping phase fields for now.

hack/tools/.custom-gcl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: golangci-lint-kube-api-linter
33
destination: ./bin
44
plugins:
55
- module: 'sigs.k8s.io/kube-api-linter'
6-
version: v0.0.0-20250716173026-43a29a6047dd
6+
version: v0.0.0-20250723124831-1b29e82a0f55

0 commit comments

Comments
 (0)