Make fine-grained hashing. (#814)

Speed up golint: don't typecheck packages twice.
Relates: #805
This commit is contained in:
Isaev Denis 2019-10-14 09:50:57 +03:00 committed by GitHub
parent f13436112d
commit 48599c64ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 138 additions and 68 deletions

View file

@ -76,6 +76,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithPresets(linter.PresetBugs).
WithURL("https://github.com/kisielk/errcheck"),
linter.NewConfig(golinters.NewGolint()).
WithLoadForGoAnalysis().
WithPresets(linter.PresetStyle).
WithURL("https://github.com/golang/lint"),