@@ -108,6 +108,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
108
108
var exhaustiveCfg * config.ExhaustiveSettings
109
109
var exhaustiveStructCfg * config.ExhaustiveStructSettings
110
110
var goModDirectivesCfg * config.GoModDirectivesSettings
111
+ var goMndCfg * config.GoMndSettings
111
112
var gosecCfg * config.GoSecSettings
112
113
var gosimpleCfg * config.StaticCheckSettings
113
114
var govetCfg * config.GovetSettings
@@ -138,6 +139,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
138
139
exhaustiveCfg = & m .cfg .LintersSettings .Exhaustive
139
140
exhaustiveStructCfg = & m .cfg .LintersSettings .ExhaustiveStruct
140
141
goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
142
+ goMndCfg = & m .cfg .LintersSettings .Gomnd
141
143
gosecCfg = & m .cfg .LintersSettings .Gosec
142
144
gosimpleCfg = & m .cfg .LintersSettings .Gosimple
143
145
govetCfg = & m .cfg .LintersSettings .Govet
@@ -367,7 +369,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
367
369
WithURL ("https://github.com/golang/lint" ).
368
370
Deprecated ("The repository of the linter has been archived by the owner." , "v1.41.0" , "revive" ),
369
371
370
- linter .NewConfig (golinters .NewGoMND (m . cfg )).
372
+ linter .NewConfig (golinters .NewGoMND (goMndCfg )).
371
373
WithSince ("v1.22.0" ).
372
374
WithPresets (linter .PresetStyle ).
373
375
WithURL ("https://github.com/tommy-muehle/go-mnd" ),
0 commit comments