You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .golangci-kal.yml
+7-7
Original file line number
Diff line number
Diff line change
@@ -39,13 +39,13 @@ linters-settings:
39
39
isFirstField: Warn # Require conditions to be the first field in the status struct.
40
40
usePatchStrategy: Forbid # Conditions should not use the patch strategy on CRDs.
41
41
useProtobuf: Forbid # We don't use protobuf, so protobuf tags are not required.
42
-
# jsontags:
43
-
# jsonTagRegex: "^[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*$" # The default regex is appropriate for our use case.
44
-
# optionalOrRequired:
45
-
# preferredOptionalMarker: optional | kubebuilder:validation:Optional # The preferred optional marker to use, fixes will suggest to use this marker. Defaults to `optional`.
46
-
# preferredRequiredMarker: required | kubebuilder:validation:Required # The preferred required marker to use, fixes will suggest to use this marker. Defaults to `required`.
47
-
# requiredFields:
48
-
# pointerPolicy: Warn | SuggestFix # Defaults to `SuggestFix`. We want our required fields to not be pointers.
42
+
# jsonTags:
43
+
# jsonTagRegex: "^[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*$" # The default regex is appropriate for our use case.
44
+
# optionalOrRequired:
45
+
# preferredOptionalMarker: optional | kubebuilder:validation:Optional # The preferred optional marker to use, fixes will suggest to use this marker. Defaults to `optional`.
46
+
# preferredRequiredMarker: required | kubebuilder:validation:Required # The preferred required marker to use, fixes will suggest to use this marker. Defaults to `required`.
47
+
# requiredFields:
48
+
# pointerPolicy: Warn | SuggestFix # Defaults to `SuggestFix`. We want our required fields to not be pointers.
0 commit comments