Skip to content

Commit 795b679

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
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.

0 commit comments

Comments
 (0)