Feature/enable autofix on whitespace (#674)

The whitespace linter was added in #673. Enable it and fix found issues.
Add auto-fixing to the whitespace linter.
This commit is contained in:
Isaev Denis 2019-09-10 16:56:44 +03:00 committed by GitHub
parent c7dee2c0b2
commit f1c1dbfab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 152 additions and 37 deletions

View file

@ -245,6 +245,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
linter.NewConfig(golinters.Whitespace{}).
WithPresets(linter.PresetStyle).
WithSpeed(10).
WithAutoFix().
WithURL("https://github.com/ultraware/whitespace"),
}