mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-28 06:59:10 -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
test
|
@ -43,6 +43,7 @@ func TestFix(t *testing.T) {
|
|||
t.Parallel()
|
||||
|
||||
args := []string{
|
||||
"--go=1.17", // TODO(ldez): we force to use an old version of Go for the CI and the tests.
|
||||
"--disable-all", "--print-issued-lines=false", "--print-linter-name=false", "--out-format=line-number",
|
||||
"--allow-parallel-runners", "--fix",
|
||||
input,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue