@@ -36,7 +36,7 @@ func (p *Paths) UnmarshalJSON(data []byte) error {
3636 return nil
3737}
3838
39- func (p * Paths ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
39+ func (p * Paths ) UnmarshalYAML (unmarshal func (any ) error ) error {
4040 out := []string {}
4141 if sliceErr := unmarshal (& out ); sliceErr != nil {
4242 var ele string
@@ -61,7 +61,7 @@ type Config struct {
6161 Cloud Cloud `json:"cloud" yaml:"cloud"`
6262 Servers []Server `json:"servers" yaml:"servers"`
6363 SQL []SQL `json:"sql" yaml:"sql"`
64- Overrides Overrides `json:"overrides,omitempty " yaml:"overrides"`
64+ Overrides Overrides `json:"overrides" yaml:"overrides"`
6565 Plugins []Plugin `json:"plugins" yaml:"plugins"`
6666 Rules []Rule `json:"rules" yaml:"rules"`
6767 Options map [string ]yaml.Node `json:"options" yaml:"options"`
@@ -125,8 +125,8 @@ type SQL struct {
125125// AnalyzerDatabase represents the database analyzer setting.
126126// It can be a boolean (true/false) or the string "only" for database-only mode.
127127type AnalyzerDatabase struct {
128- value * bool // nil means not set, true/false for boolean values
129- isOnly bool // true when set to "only"
128+ value * bool // nil means not set, true/false for boolean values
129+ isOnly bool // true when set to "only"
130130}
131131
132132// IsEnabled returns true if the database analyzer should be used.
@@ -166,7 +166,7 @@ func (a *AnalyzerDatabase) UnmarshalJSON(data []byte) error {
166166 return errors .New ("analyzer.database must be true, false, or \" only\" " )
167167}
168168
169- func (a * AnalyzerDatabase ) UnmarshalYAML (unmarshal func (interface {} ) error ) error {
169+ func (a * AnalyzerDatabase ) UnmarshalYAML (unmarshal func (any ) error ) error {
170170 // Try to unmarshal as boolean first
171171 var b bool
172172 if err := unmarshal (& b ); err == nil {
0 commit comments