Merge branch 'tdakkota-feature/add-asciicheck-support'

This commit is contained in:
Aleksandr Razumov 2020-04-25 17:51:53 +03:00
commit 1373897abf
No known key found for this signature in database
GPG key ID: 1D14A82D2E311045
5 changed files with 30 additions and 2 deletions

View file

@ -180,6 +180,9 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithLoadForGoAnalysis().
WithPresets(linter.PresetBugs).
WithURL(""),
linter.NewConfig(golinters.NewAsciicheck()).
WithPresets(linter.PresetBugs, linter.PresetStyle).
WithURL("https://github.com/tdakkota/asciicheck"),
linter.NewConfig(golinters.NewGofmt()).
WithPresets(linter.PresetFormatting).