mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #123263 from pohly/lint-error-wrapping
golangci-lint: add hints for error wrapping
This commit is contained in:
commit
0a162a9cd2
@ -84,6 +84,7 @@ linters:
|
||||
- ginkgolinter
|
||||
- gocritic
|
||||
- govet
|
||||
- errorlint
|
||||
- ineffassign
|
||||
- logcheck
|
||||
- revive
|
||||
|
@ -140,6 +140,9 @@ linters:
|
||||
- ginkgolinter
|
||||
- gocritic
|
||||
- govet
|
||||
{{- if .Hints}}
|
||||
- errorlint
|
||||
{{- end}}
|
||||
- ineffassign
|
||||
- logcheck
|
||||
- revive
|
||||
|
Loading…
Reference in New Issue
Block a user