mirror of https://github.com/docker/cli.git
lint: replace deprecated linter names
`megacheck` has been deprecated/split into `gosimple`, `staticcheck`, and `unused`, which we're already using.d2b439faa5/pkg/lint/lintersdb/validator_test.go (L227)
`vet` is now `govet`.d2b439faa5/pkg/lint/lintersdb/validator_test.go (L228)
For more context, see: https://github.com/golangci/golangci-lint/pull/4562 Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
788e99620d
commit
cc4163296f
|
@ -16,7 +16,6 @@ linters:
|
||||||
- govet
|
- govet
|
||||||
- ineffassign
|
- ineffassign
|
||||||
- lll
|
- lll
|
||||||
- megacheck
|
|
||||||
- misspell # Detects commonly misspelled English words in comments.
|
- misspell # Detects commonly misspelled English words in comments.
|
||||||
- nakedret
|
- nakedret
|
||||||
- nilerr # Detects code that returns nil even if it checks that the error is not nil.
|
- nilerr # Detects code that returns nil even if it checks that the error is not nil.
|
||||||
|
@ -36,7 +35,7 @@ linters:
|
||||||
- unparam
|
- unparam
|
||||||
- unused
|
- unused
|
||||||
- usestdlibvars
|
- usestdlibvars
|
||||||
- vet
|
- govet
|
||||||
- wastedassign
|
- wastedassign
|
||||||
|
|
||||||
disable:
|
disable:
|
||||||
|
|
Loading…
Reference in New Issue