added new linter gomodguard, disabled by default

This commit is contained in:
Ryan Currah 2020-04-04 15:29:11 -04:00
parent 4958e50dfe
commit 020b9e7103
No known key found for this signature in database
GPG key ID: A8F5EF04CC2222B3
39 changed files with 4479 additions and 0 deletions

View file

@ -247,6 +247,9 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
linter.NewConfig(golinters.NewGoMND(m.cfg)).
WithPresets(linter.PresetStyle).
WithURL("https://github.com/tommy-muehle/go-mnd"),
linter.NewConfig(golinters.NewGomodguard()).
WithPresets(linter.PresetStyle).
WithURL("https://github.com/rcurrah/gomodguard"),
}
isLocalRun := os.Getenv("GOLANGCI_COM_RUN") == ""