@@ -107,6 +107,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
107107 var errorlintCfg * config.ErrorLintSettings
108108 var exhaustiveCfg * config.ExhaustiveSettings
109109 var exhaustiveStructCfg * config.ExhaustiveStructSettings
110+ var exhaustructCfg * config.ExhaustructSettings
110111 var gciCfg * config.GciSettings
111112 var goModDirectivesCfg * config.GoModDirectivesSettings
112113 var goMndCfg * config.GoMndSettings
@@ -140,6 +141,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140141 errorlintCfg = & m .cfg .LintersSettings .ErrorLint
141142 exhaustiveCfg = & m .cfg .LintersSettings .Exhaustive
142143 exhaustiveStructCfg = & m .cfg .LintersSettings .ExhaustiveStruct
144+ exhaustructCfg = & m .cfg .LintersSettings .Exhaustruct
143145 gciCfg = & m .cfg .LintersSettings .Gci
144146 goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
145147 goMndCfg = & m .cfg .LintersSettings .Gomnd
@@ -281,7 +283,14 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
281283 WithSince ("v1.32.0" ).
282284 WithPresets (linter .PresetStyle , linter .PresetTest ).
283285 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" ),
285294
286295 linter .NewConfig (golinters .NewExportLoopRef ()).
287296 WithSince ("v1.28.0" ).
0 commit comments