@@ -121,6 +121,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
121121 var testpackageCfg * config.TestpackageSettings
122122 var thelperCfg * config.ThelperSettings
123123 var unusedCfg * config.StaticCheckSettings
124+ var varnamelenCfg * config.VarnamelenSettings
124125 var wrapcheckCfg * config.WrapcheckSettings
125126 var nlreturnCfg * config.NlreturnSettings
126127
@@ -146,6 +147,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
146147 testpackageCfg = & m .cfg .LintersSettings .Testpackage
147148 thelperCfg = & m .cfg .LintersSettings .Thelper
148149 unusedCfg = & m .cfg .LintersSettings .Unused
150+ varnamelenCfg = & m .cfg .LintersSettings .Varnamelen
149151 wrapcheckCfg = & m .cfg .LintersSettings .Wrapcheck
150152 nlreturnCfg = & m .cfg .LintersSettings .Nlreturn
151153 }
@@ -511,30 +513,35 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
511513 WithPresets (linter .PresetStyle ).
512514 WithURL ("https://github.com/ldez/tagliatelle" ),
513515 linter .NewConfig (golinters .NewErrName ()).
516+ WithSince ("v1.42.0" ).
514517 WithPresets (linter .PresetStyle ).
515518 WithLoadForGoAnalysis ().
516- WithURL ("https://github.com/Antonboom/errname" ).
517- WithSince ("v1.42.0" ),
519+ WithURL ("https://github.com/Antonboom/errname" ),
518520 linter .NewConfig (golinters .NewIreturn (ireturnCfg )).
519521 WithSince ("v1.43.0" ).
520522 WithPresets (linter .PresetStyle ).
521523 WithLoadForGoAnalysis ().
522524 WithURL ("https://github.com/butuzov/ireturn" ),
523525 linter .NewConfig (golinters .NewNilNil (nilNilCfg )).
526+ WithSince ("v1.43.0" ).
524527 WithPresets (linter .PresetStyle ).
525528 WithLoadForGoAnalysis ().
526- WithURL ("https://github.com/Antonboom/nilnil" ).
527- WithSince ("v1.43.0" ),
529+ WithURL ("https://github.com/Antonboom/nilnil" ),
528530 linter .NewConfig (golinters .NewTenv (tenvCfg )).
529531 WithSince ("v1.43.0" ).
530532 WithPresets (linter .PresetStyle ).
531533 WithLoadForGoAnalysis ().
532534 WithURL ("https://github.com/sivchari/tenv" ),
533535 linter .NewConfig (golinters .NewContextCheck ()).
536+ WithSince ("v1.43.0" ).
534537 WithPresets (linter .PresetBugs ).
535538 WithLoadForGoAnalysis ().
536- WithURL ("https://github.com/sylvia7788/contextcheck" ).
537- WithSince ("v1.43.0" ),
539+ WithURL ("https://github.com/sylvia7788/contextcheck" ),
540+ linter .NewConfig (golinters .NewVarnamelen (varnamelenCfg )).
541+ WithSince ("v1.43.0" ).
542+ WithPresets (linter .PresetStyle ).
543+ WithLoadForGoAnalysis ().
544+ WithURL ("https://github.com/blizzy78/varnamelen" ),
538545
539546 // nolintlint must be last because it looks at the results of all the previous linters for unused nolint directives
540547 linter .NewConfig (golinters .NewNoLintLint ()).
0 commit comments