@@ -108,6 +108,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
108
108
depGuardCfg * config.DepGuardSettings
109
109
dogsledCfg * config.DogsledSettings
110
110
duplCfg * config.DuplSettings
111
+ dupwordCfg * config.DupWordSettings
111
112
errcheckCfg * config.ErrcheckSettings
112
113
errchkjsonCfg * config.ErrChkJSONSettings
113
114
errorlintCfg * config.ErrorLintSettings
@@ -182,6 +183,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
182
183
depGuardCfg = & m .cfg .LintersSettings .Depguard
183
184
dogsledCfg = & m .cfg .LintersSettings .Dogsled
184
185
duplCfg = & m .cfg .LintersSettings .Dupl
186
+ dupwordCfg = & m .cfg .LintersSettings .DupWord
185
187
errcheckCfg = & m .cfg .LintersSettings .Errcheck
186
188
errchkjsonCfg = & m .cfg .LintersSettings .ErrChkJSON
187
189
errorlintCfg = & m .cfg .LintersSettings .ErrorLint
@@ -339,6 +341,13 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
339
341
WithPresets (linter .PresetStyle ).
340
342
WithURL ("https://github.com/mibk/dupl" ),
341
343
344
+ linter .NewConfig (golinters .NewDupWord (dupwordCfg )).
345
+ WithSince ("1.50.0" ).
346
+ WithPresets (linter .PresetComment ).
347
+ WithLoadForGoAnalysis ().
348
+ WithAutoFix ().
349
+ WithURL ("https://github.com/Abirdcfly/dupword" ),
350
+
342
351
linter .NewConfig (golinters .NewDurationCheck ()).
343
352
WithSince ("v1.37.0" ).
344
353
WithPresets (linter .PresetBugs ).
0 commit comments