Skip to content

Commit 7e86661

Browse files
authored
Merge pull request #12743 from sbueringer/pr-bump-kal-nodurations
🌱 Bump KAL & add nodurations linter
2 parents 628ef72 + afa8a0d commit 7e86661

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
@@ -23,6 +23,7 @@ linters:
2323
- "jsontags" # Ensure every field has a json tag.
2424
- "maxlength" # Ensure all strings and arrays have maximum lengths/maximum items.
2525
- "nobools" # Bools do not evolve over time, should use enums instead.
26+
- "nodurations" # Prevents usage of `Duration` types.
2627
- "nofloats" # Ensure floats are not used.
2728
- "nomaps" # Ensure maps are not used.
2829
- "nonullable" # Ensure that types and fields do not have the nullable marker.

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-20250902135116-ef33eac3b92b
6+
version: v0.0.0-20250908163129-65a570bd22aa

0 commit comments

Comments
 (0)