@@ -107,6 +107,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
107
107
var errorlintCfg * config.ErrorLintSettings
108
108
var exhaustiveCfg * config.ExhaustiveSettings
109
109
var exhaustiveStructCfg * config.ExhaustiveStructSettings
110
+ var exhaustructCfg * config.ExhaustructSettings
110
111
var gciCfg * config.GciSettings
111
112
var goModDirectivesCfg * config.GoModDirectivesSettings
112
113
var goMndCfg * config.GoMndSettings
@@ -140,6 +141,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140
141
errorlintCfg = & m .cfg .LintersSettings .ErrorLint
141
142
exhaustiveCfg = & m .cfg .LintersSettings .Exhaustive
142
143
exhaustiveStructCfg = & m .cfg .LintersSettings .ExhaustiveStruct
144
+ exhaustructCfg = & m .cfg .LintersSettings .Exhaustruct
143
145
gciCfg = & m .cfg .LintersSettings .Gci
144
146
goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
145
147
goMndCfg = & m .cfg .LintersSettings .Gomnd
@@ -281,7 +283,14 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
281
283
WithSince ("v1.32.0" ).
282
284
WithPresets (linter .PresetStyle , linter .PresetTest ).
283
285
WithLoadForGoAnalysis ().
284
- WithURL ("https://github.com/mbilski/exhaustivestruct" ),
286
+ WithURL ("https://github.com/mbilski/exhaustivestruct" ).
287
+ Deprecated ("The owner seems to have abandoned the linter." , "v1.46.0" , "exhaustruct" ),
288
+
289
+ linter .NewConfig (golinters .NewExhaustruct (exhaustructCfg )).
290
+ WithSince ("v1.46.0" ).
291
+ WithPresets (linter .PresetStyle , linter .PresetTest ).
292
+ WithLoadForGoAnalysis ().
293
+ WithURL ("https://github.com/GaijinEntertainment/go-exhaustruct" ),
285
294
286
295
linter .NewConfig (golinters .NewExportLoopRef ()).
287
296
WithSince ("v1.28.0" ).
0 commit comments