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