Skip to content

Commit c382a60

Browse files
committed
Add nomaps API linter
Signed-off-by: Stefan Büringer [email protected]
1 parent 59130fa commit c382a60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci-kal.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ linters-settings:
2323
- "maxlength" # Ensure all strings and arrays have maximum lengths/maximum items.
2424
- "nobools" # Bools do not evolve over time, should use enums instead.
2525
- "nofloats" # Ensure floats are not used.
26+
- "nomaps" # Ensure maps are not used.
2627
- "optionalorrequired" # Every field should be marked as `+optional` or `+required`.
2728
- "requiredfields" # Required fields should not be pointers, and should not have `omitempty`.
2829
- "statussubresource" # All root objects that have a `status` field should have a status subresource.

hack/tools/.custom-gcl.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: golangci-lint-kal-v1.63.4
33
destination: ./bin
44
plugins:
55
- module: 'github.com/JoelSpeed/kal'
6-
version: v0.0.0-20250305092907-abd233a9fed8
6+
version: v0.0.0-20250407102514-379949d8df6f

0 commit comments

Comments
 (0)