@@ -110,6 +110,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
110110 var reviveCfg * config.ReviveSettings
111111 var cyclopCfg * config.Cyclop
112112 var importAsCfg * config.ImportAsSettings
113+ var ireturnCfg * config.IreturnSettings
113114 var goModDirectivesCfg * config.GoModDirectivesSettings
114115 var tagliatelleCfg * config.TagliatelleSettings
115116 var gosecCfg * config.GoSecSettings
@@ -131,6 +132,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
131132 reviveCfg = & m .cfg .LintersSettings .Revive
132133 cyclopCfg = & m .cfg .LintersSettings .Cyclop
133134 importAsCfg = & m .cfg .LintersSettings .ImportAs
135+ ireturnCfg = & m .cfg .LintersSettings .Ireturn
134136 goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
135137 tagliatelleCfg = & m .cfg .LintersSettings .Tagliatelle
136138 gosecCfg = & m .cfg .LintersSettings .Gosec
@@ -506,6 +508,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
506508 WithLoadForGoAnalysis ().
507509 WithURL ("https://github.com/Antonboom/errname" ).
508510 WithSince ("v1.42.0" ),
511+ linter .NewConfig (golinters .NewIreturn (ireturnCfg )).
512+ WithSince ("v1.43.0" ).
513+ WithPresets (linter .PresetStyle ).
514+ WithLoadForGoAnalysis ().
515+ WithURL ("https://github.com/butuzov/ireturn" ),
509516
510517 // nolintlint must be last because it looks at the results of all the previous linters for unused nolint directives
511518 linter .NewConfig (golinters .NewNoLintLint ()).
0 commit comments