Skip to content

Commit 5979336

Browse files
committed
review: fix presets
1 parent 59869ea commit 5979336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/lint/lintersdb/builder_linter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
725725

726726
linter.NewConfig(tenv.New(&cfg.LintersSettings.Tenv)).
727727
WithSince("v1.43.0").
728-
WithPresets(linter.PresetStyle).
728+
WithPresets(linter.PresetTest).
729729
WithLoadForGoAnalysis().
730730
WithURL("https://github.com/sivchari/tenv"),
731731

@@ -747,7 +747,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
747747

748748
linter.NewConfig(thelper.New(&cfg.LintersSettings.Thelper)).
749749
WithSince("v1.34.0").
750-
WithPresets(linter.PresetStyle).
750+
WithPresets(linter.PresetTest).
751751
WithLoadForGoAnalysis().
752752
WithURL("https://github.com/kulti/thelper"),
753753

0 commit comments

Comments
 (0)