@@ -108,6 +108,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
108108 depGuardCfg * config.DepGuardSettings
109109 dogsledCfg * config.DogsledSettings
110110 duplCfg * config.DuplSettings
111+ dupwordCfg * config.DupWordSettings
111112 errcheckCfg * config.ErrcheckSettings
112113 errchkjsonCfg * config.ErrChkJSONSettings
113114 errorlintCfg * config.ErrorLintSettings
@@ -183,6 +184,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
183184 depGuardCfg = & m .cfg .LintersSettings .Depguard
184185 dogsledCfg = & m .cfg .LintersSettings .Dogsled
185186 duplCfg = & m .cfg .LintersSettings .Dupl
187+ dupwordCfg = & m .cfg .LintersSettings .DupWord
186188 errcheckCfg = & m .cfg .LintersSettings .Errcheck
187189 errchkjsonCfg = & m .cfg .LintersSettings .ErrChkJSON
188190 errorlintCfg = & m .cfg .LintersSettings .ErrorLint
@@ -341,6 +343,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
341343 WithPresets (linter .PresetStyle ).
342344 WithURL ("https://github.com/mibk/dupl" ),
343345
346+ linter .NewConfig (golinters .NewDupWord (dupwordCfg )).
347+ WithSince ("1.50.0" ).
348+ WithPresets (linter .PresetComment ).
349+ WithAutoFix ().
350+ WithURL ("https://github.com/Abirdcfly/dupword" ),
351+
344352 linter .NewConfig (golinters .NewDurationCheck ()).
345353 WithSince ("v1.37.0" ).
346354 WithPresets (linter .PresetBugs ).
0 commit comments