@@ -368,7 +368,7 @@ type GoCriticSettings struct {
368368 SettingsPerCheck map [string ]GoCriticCheckSettings `mapstructure:"settings"`
369369}
370370
371- type GoCriticCheckSettings map [string ]interface {}
371+ type GoCriticCheckSettings map [string ]any
372372
373373type GoCycloSettings struct {
374374 MinComplexity int `mapstructure:"min-complexity"`
@@ -421,11 +421,11 @@ type GoLintSettings struct {
421421}
422422
423423type GoMndSettings struct {
424- Settings map [string ]map [string ]interface {} // Deprecated
425- Checks []string `mapstructure:"checks"`
426- IgnoredNumbers []string `mapstructure:"ignored-numbers"`
427- IgnoredFiles []string `mapstructure:"ignored-files"`
428- IgnoredFunctions []string `mapstructure:"ignored-functions"`
424+ Settings map [string ]map [string ]any // Deprecated
425+ Checks []string `mapstructure:"checks"`
426+ IgnoredNumbers []string `mapstructure:"ignored-numbers"`
427+ IgnoredFiles []string `mapstructure:"ignored-files"`
428+ IgnoredFunctions []string `mapstructure:"ignored-functions"`
429429}
430430
431431type GoModDirectivesSettings struct {
@@ -454,13 +454,13 @@ type GoModGuardSettings struct {
454454}
455455
456456type GoSecSettings struct {
457- Includes []string `mapstructure:"includes"`
458- Excludes []string `mapstructure:"excludes"`
459- Severity string `mapstructure:"severity"`
460- Confidence string `mapstructure:"confidence"`
461- ExcludeGenerated bool `mapstructure:"exclude-generated"`
462- Config map [string ]interface {} `mapstructure:"config"`
463- Concurrency int `mapstructure:"concurrency"`
457+ Includes []string `mapstructure:"includes"`
458+ Excludes []string `mapstructure:"excludes"`
459+ Severity string `mapstructure:"severity"`
460+ Confidence string `mapstructure:"confidence"`
461+ ExcludeGenerated bool `mapstructure:"exclude-generated"`
462+ Config map [string ]any `mapstructure:"config"`
463+ Concurrency int `mapstructure:"concurrency"`
464464}
465465
466466type GosmopolitanSettings struct {
@@ -473,7 +473,7 @@ type GosmopolitanSettings struct {
473473type GovetSettings struct {
474474 Go string `mapstructure:"-"`
475475 CheckShadowing bool `mapstructure:"check-shadowing"`
476- Settings map [string ]map [string ]interface {}
476+ Settings map [string ]map [string ]any
477477
478478 Enable []string
479479 Disable []string
@@ -628,7 +628,7 @@ type ReviveSettings struct {
628628 EnableAllRules bool `mapstructure:"enable-all-rules"`
629629 Rules []struct {
630630 Name string
631- Arguments []interface {}
631+ Arguments []any
632632 Severity string
633633 Disabled bool
634634 }
0 commit comments