@@ -116,6 +116,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
116116 var staticcheckCfg * config.StaticCheckSettings
117117 var stylecheckCfg * config.StaticCheckSettings
118118 var tagliatelleCfg * config.TagliatelleSettings
119+ var tenvCfg * config.TenvSettings
119120 var testpackageCfg * config.TestpackageSettings
120121 var thelperCfg * config.ThelperSettings
121122 var unusedCfg * config.StaticCheckSettings
@@ -140,6 +141,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140141 staticcheckCfg = & m .cfg .LintersSettings .Staticcheck
141142 stylecheckCfg = & m .cfg .LintersSettings .Stylecheck
142143 tagliatelleCfg = & m .cfg .LintersSettings .Tagliatelle
144+ tenvCfg = & m .cfg .LintersSettings .Tenv
143145 testpackageCfg = & m .cfg .LintersSettings .Testpackage
144146 thelperCfg = & m .cfg .LintersSettings .Thelper
145147 unusedCfg = & m .cfg .LintersSettings .Unused
@@ -522,6 +524,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
522524 WithLoadForGoAnalysis ().
523525 WithURL ("https://github.com/Antonboom/nilnil" ).
524526 WithSince ("v1.43.0" ),
527+ linter .NewConfig (golinters .NewTenv (tenvCfg )).
528+ WithSince ("v1.43.0" ).
529+ WithPresets (linter .PresetStyle ).
530+ WithLoadForGoAnalysis ().
531+ WithURL ("https://github.com/sivchari/tenv" ),
525532
526533 // nolintlint must be last because it looks at the results of all the previous linters for unused nolint directives
527534 linter .NewConfig (golinters .NewNoLintLint ()).
0 commit comments