Merge pull request #123263 from pohly/lint-error-wrapping

golangci-lint: add hints for error wrapping
This commit is contained in:
Kubernetes Prow Robot 2024-02-13 23:40:42 -08:00 committed by GitHub
commit 0a162a9cd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,7 @@ linters:
- ginkgolinter
- gocritic
- govet
- errorlint
- ineffassign
- logcheck
- revive

View File

@ -140,6 +140,9 @@ linters:
- ginkgolinter
- gocritic
- govet
{{- if .Hints}}
- errorlint
{{- end}}
- ineffassign
- logcheck
- revive