@@ -110,6 +110,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
110
110
var reviveCfg * config.ReviveSettings
111
111
var cyclopCfg * config.Cyclop
112
112
var importAsCfg * config.ImportAsSettings
113
+ var ireturnCfg * config.IreturnSettings
113
114
var goModDirectivesCfg * config.GoModDirectivesSettings
114
115
var tagliatelleCfg * config.TagliatelleSettings
115
116
var gosecCfg * config.GoSecSettings
@@ -131,6 +132,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
131
132
reviveCfg = & m .cfg .LintersSettings .Revive
132
133
cyclopCfg = & m .cfg .LintersSettings .Cyclop
133
134
importAsCfg = & m .cfg .LintersSettings .ImportAs
135
+ ireturnCfg = & m .cfg .LintersSettings .Ireturn
134
136
goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
135
137
tagliatelleCfg = & m .cfg .LintersSettings .Tagliatelle
136
138
gosecCfg = & m .cfg .LintersSettings .Gosec
@@ -506,6 +508,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
506
508
WithLoadForGoAnalysis ().
507
509
WithURL ("https://github.com/Antonboom/errname" ).
508
510
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" ),
509
516
510
517
// nolintlint must be last because it looks at the results of all the previous linters for unused nolint directives
511
518
linter .NewConfig (golinters .NewNoLintLint ()).
0 commit comments