We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040724b commit 92dede7Copy full SHA for 92dede7
.golangci.yaml
@@ -20,6 +20,15 @@ linters:
20
isFirstField: Warn
21
usePatchStrategy: Ignore
22
useProtobuf: Ignore
23
+ optionalfields:
24
+ pointers:
25
+ preference: WhenRequired
26
+ policy: SuggestFix
27
+ omitEmpty:
28
+ # Ignore missing omitempty so that we can omit the omitempty for discoverability.
29
+ # Discoverability is for configuration APIs, generally singletons.
30
+ # Refer to the API conventions for when to use discoverability (not our default stance).
31
+ policy: Ignore
32
exclusions:
33
generated: lax
34
presets:
0 commit comments