go1.20 support (#3414)

This commit is contained in:
Ludovic Fernandez 2023-02-02 09:08:09 +01:00 committed by GitHub
parent abe878d80d
commit 3a6f8408b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 44 additions and 26 deletions

View file

@ -453,8 +453,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
linter.NewConfig(golinters.NewGochecknoinits()).
WithSince("v1.12.0").
WithPresets(linter.PresetStyle).
WithURL("https://github.com/leighmcculloch/gochecknoinits"),
WithPresets(linter.PresetStyle),
linter.NewConfig(golinters.NewGocognit(gocognitCfg)).
WithSince("v1.20.0").