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 95b8f48 commit e5cff63Copy full SHA for e5cff63
pkg/golinters/mnd/mnd.go
@@ -25,7 +25,9 @@ func NewGoMND(settings *config.GoMndSettings) *goanalysis.Linter {
25
26
if settings != nil && len(settings.Settings) > 0 {
27
// Convert deprecated setting.
28
- linterCfg = settings.Settings
+ linterCfg = map[string]map[string]any{
29
+ a.Name: settings.Settings["mnd"],
30
+ }
31
}
32
33
return newMND(a, &settings.MndSettings, linterCfg)
0 commit comments