File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
package golinters
2
2
3
3
import (
4
- "github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
5
4
"github.com/timakin/bodyclose/passes/bodyclose"
6
5
"golang.org/x/tools/go/analysis"
6
+
7
+ "github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
7
8
)
8
9
9
10
func NewBodyclose () * goanalysis.Linter {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
90
90
WithAlternativeNames ("vet" , "vetshadow" ).
91
91
WithURL ("https://golang.org/cmd/vet/" ),
92
92
linter .NewConfig (golinters .NewBodyclose ()).
93
- WithSSA (). // TODO: extract from the linter config and don't build SSA, just use LoadAllSyntax mode
93
+ WithSSA ().
94
94
WithPresets (linter .PresetPerformance , linter .PresetBugs ).
95
95
WithSpeed (4 ).
96
96
WithURL ("https://github.com/timakin/bodyclose" ),
You can’t perform that action at this time.
0 commit comments