Skip to content

Commit 29502da

Browse files
committed
lint: replace deprecated linter names
`megacheck` has been deprecated/split into `gosimple`, `staticcheck`, and `unused`, which we're already using. https://github.com/golangci/golangci-lint/blob/d2b439faa53bc7d0645049c3e23fc858736b8cc4/pkg/lint/lintersdb/validator_test.go#L227 `vet` is now `govet`. https://github.com/golangci/golangci-lint/blame/d2b439faa53bc7d0645049c3e23fc858736b8cc4/pkg/lint/lintersdb/validator_test.go#L228 For more context, see: golangci/golangci-lint#4562 Signed-off-by: Laura Brehm <[email protected]>
1 parent 90a7cda commit 29502da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.golangci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ linters:
1616
- govet
1717
- ineffassign
1818
- lll
19-
- megacheck
2019
- misspell # Detects commonly misspelled English words in comments.
2120
- nakedret
2221
- nilerr # Detects code that returns nil even if it checks that the error is not nil.
@@ -36,7 +35,7 @@ linters:
3635
- unparam
3736
- unused
3837
- usestdlibvars
39-
- vet
38+
- govet
4039
- wastedassign
4140

4241
disable:

0 commit comments

Comments
 (0)