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:
Laura Brehm 2024-07-25 12:03:14 +01:00
parent 788e99620d
commit cc4163296f
No known key found for this signature in database
GPG Key ID: 08EC1B0491948487
1 changed files with 1 additions and 2 deletions

View File

@ -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: