docs: update url of gocyclo linter (#1794)

This commit is contained in:
Kamil Samigullin 2021-02-28 14:31:14 +03:00 committed by GitHub
parent 5dcc3eafd1
commit c2b813325f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithURL("https://github.com/remyoudompheng/go-misc/tree/master/deadcode"),
linter.NewConfig(golinters.NewGocyclo()).
WithPresets(linter.PresetComplexity).
WithURL("https://github.com/alecthomas/gocyclo"),
WithURL("https://github.com/fzipp/gocyclo"),
linter.NewConfig(golinters.NewCyclop(cyclopCfg)).
WithLoadForGoAnalysis().
WithPresets(linter.PresetComplexity).