mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
fix after #533: fix comment and goimports
This commit is contained in:
parent
78079be927
commit
9d8eb16395
2 changed files with 3 additions and 2 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue