@@ -102,6 +102,7 @@ func enableLinterConfigs(lcs []*linter.Config, isEnabled func(lc *linter.Config)
102102func (m Manager ) GetAllSupportedLinterConfigs () []* linter.Config {
103103 var bidichkCfg * config.BiDiChkSettings
104104 var cyclopCfg * config.Cyclop
105+ var decorderCfg * config.DecorderSettings
105106 var errchkjsonCfg * config.ErrChkJSONSettings
106107 var errorlintCfg * config.ErrorLintSettings
107108 var exhaustiveCfg * config.ExhaustiveSettings
@@ -131,6 +132,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
131132 bidichkCfg = & m .cfg .LintersSettings .BiDiChk
132133 cyclopCfg = & m .cfg .LintersSettings .Cyclop
133134 errchkjsonCfg = & m .cfg .LintersSettings .ErrChkJSON
135+ decorderCfg = & m .cfg .LintersSettings .Decorder
134136 errorlintCfg = & m .cfg .LintersSettings .ErrorLint
135137 exhaustiveCfg = & m .cfg .LintersSettings .Exhaustive
136138 exhaustiveStructCfg = & m .cfg .LintersSettings .ExhaustiveStruct
@@ -189,6 +191,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
189191 WithPresets (linter .PresetComplexity ).
190192 WithURL ("https://github.com/bkielbasa/cyclop" ),
191193
194+ linter .NewConfig (golinters .NewDecorder (decorderCfg )).
195+ WithSince ("v1.44.0" ).
196+ WithPresets (linter .PresetFormatting , linter .PresetStyle ).
197+ WithURL ("https://gitlab.com/bosi/decorder" ),
198+
192199 linter .NewConfig (golinters .NewDeadcode ()).
193200 WithSince ("v1.0.0" ).
194201 WithLoadForGoAnalysis ().
0 commit comments