fix after #533: fix comment and goimports

This commit is contained in:
Denis Isaev 2019-06-09 13:08:46 +03:00
parent 78079be927
commit 9d8eb16395
No known key found for this signature in database
GPG key ID: A36A0EC8E27A1A01
2 changed files with 3 additions and 2 deletions

View file

@ -90,7 +90,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithAlternativeNames("vet", "vetshadow").
WithURL("https://golang.org/cmd/vet/"),
linter.NewConfig(golinters.NewBodyclose()).
WithSSA(). // TODO: extract from the linter config and don't build SSA, just use LoadAllSyntax mode
WithSSA().
WithPresets(linter.PresetPerformance, linter.PresetBugs).
WithSpeed(4).
WithURL("https://github.com/timakin/bodyclose"),