diff --git a/.golangci-kal.yml b/.golangci-kal.yml index 3a3b66a47021..09548d24981b 100644 --- a/.golangci-kal.yml +++ b/.golangci-kal.yml @@ -18,6 +18,7 @@ linters-settings: enable: - "conditions" # Ensure conditions have the correct json tags and markers. - "integers" # Ensure only int32 and int64 are used for integers. + - "statussubresource" # All root objects that have a `status` field should have a status subresource. # Per discussion in July 2024, we are keeping phase fields for now. # See https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685929508 @@ -31,7 +32,6 @@ linters-settings: # - "nobools" # Bools do not evolve over time, should use enums instead. # - "optionalorrequired" # Every field should be marked as `+optional` or `+required`. # - "requiredfields" # Required fields should not be pointers, and should not have `omitempty`. - # - "statussubresource" # All root objects that have a `status` field should have a status subresource. disable: - "*" # We will manually enable new linters after understanding the impact. Disable all by default. lintersConfig: