@@ -116,6 +116,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
116
116
var staticcheckCfg * config.StaticCheckSettings
117
117
var stylecheckCfg * config.StaticCheckSettings
118
118
var tagliatelleCfg * config.TagliatelleSettings
119
+ var tenvCfg * config.TenvSettings
119
120
var testpackageCfg * config.TestpackageSettings
120
121
var thelperCfg * config.ThelperSettings
121
122
var unusedCfg * config.StaticCheckSettings
@@ -140,6 +141,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140
141
staticcheckCfg = & m .cfg .LintersSettings .Staticcheck
141
142
stylecheckCfg = & m .cfg .LintersSettings .Stylecheck
142
143
tagliatelleCfg = & m .cfg .LintersSettings .Tagliatelle
144
+ tenvCfg = & m .cfg .LintersSettings .Tenv
143
145
testpackageCfg = & m .cfg .LintersSettings .Testpackage
144
146
thelperCfg = & m .cfg .LintersSettings .Thelper
145
147
unusedCfg = & m .cfg .LintersSettings .Unused
@@ -522,6 +524,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
522
524
WithLoadForGoAnalysis ().
523
525
WithURL ("https://github.com/Antonboom/nilnil" ).
524
526
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" ),
525
532
526
533
linter .NewConfig (golinters .NewCheckBannedFunc ()).
527
534
WithPresets (linter .PresetStyle ),
0 commit comments