File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ linters-settings:
20
20
- " integers" # Ensure only int32 and int64 are used for integers.
21
21
- " statussubresource" # All root objects that have a `status` field should have a status subresource.
22
22
- " nofloats" # Ensure floats are not used.
23
+ - " requiredfields" # Required fields should not be pointers, and should not have `omitempty`.
23
24
24
25
# Per discussion in July 2024, we are keeping phase fields for now.
25
26
# See https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685929508
@@ -32,7 +33,6 @@ linters-settings:
32
33
# - "maxlength" # Ensure all strings and arrays have maximum lengths/maximum items.
33
34
# - "nobools" # Bools do not evolve over time, should use enums instead.
34
35
# - "optionalorrequired" # Every field should be marked as `+optional` or `+required`.
35
- # - "requiredfields" # Required fields should not be pointers, and should not have `omitempty`.
36
36
disable :
37
37
- " *" # We will manually enable new linters after understanding the impact. Disable all by default.
38
38
lintersConfig :
You can’t perform that action at this time.
0 commit comments