File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,14 @@ linters:
18
18
- " conditions" # Ensure conditions have the correct json tags and markers.
19
19
- " conflictingmarkers"
20
20
- " duplicatemarkers" # Ensure there are no exact duplicate markers. for types and fields.
21
+ # - "forbiddenmarkers" # Ensure that types and fields do not contain any markers that are forbidden.
21
22
- " integers" # Ensure only int32 and int64 are used for integers.
22
23
- " jsontags" # Ensure every field has a json tag.
23
24
- " maxlength" # Ensure all strings and arrays have maximum lengths/maximum items.
24
25
- " nobools" # Bools do not evolve over time, should use enums instead.
25
26
- " nofloats" # Ensure floats are not used.
26
27
- " nomaps" # Ensure maps are not used.
28
+ - " nonullable" # Ensure that types and fields do not have the nullable marker.
27
29
- " notimestamp" # Prevents usage of 'Timestamp' fields
28
30
- " optionalfields" # Ensure that all fields marked as optional adhere to being pointers and
29
31
# having the `omitempty` value in their `json` tag where appropriate.
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ name: golangci-lint-kube-api-linter
3
3
destination : ./bin
4
4
plugins :
5
5
- module : ' sigs.k8s.io/kube-api-linter'
6
- version : v0.0.0-20250819121536-a575e84f4ce8
6
+ version : v0.0.0-20250902135116-ef33eac3b92b
You can’t perform that action at this time.
0 commit comments