mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: automatic Go version detection (#2669)
* feat: disable unsupported go1.18 govet analyzers * fix: inactivate interfacer with go1.18
This commit is contained in:
parent
da0a6b3b8a
commit
7bbbe77e5e
13 changed files with 112 additions and 69 deletions
|
@ -22,7 +22,6 @@ type Noop struct {
|
|||
|
||||
func (n Noop) Run(_ context.Context, lintCtx *Context) ([]result.Issue, error) {
|
||||
lintCtx.Log.Warnf("%s is disabled because of go1.18."+
|
||||
" If you are not using go1.18, you can set `go: go1.17` in the `run` section."+
|
||||
" You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.", n.name)
|
||||
return nil, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue