Skip to content

Commit

Permalink
Merge pull request #123263 from pohly/lint-error-wrapping
Browse files Browse the repository at this point in the history
golangci-lint: add hints for error wrapping
  • Loading branch information
k8s-ci-robot committed Feb 14, 2024
2 parents 2383fbe + 8876b68 commit 0a162a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions hack/golangci-hints.yaml
Expand Up @@ -84,6 +84,7 @@ linters:
- ginkgolinter
- gocritic
- govet
- errorlint
- ineffassign
- logcheck
- revive
Expand Down
3 changes: 3 additions & 0 deletions hack/golangci.yaml.in
Expand Up @@ -140,6 +140,9 @@ linters:
- ginkgolinter
- gocritic
- govet
{{- if .Hints}}
- errorlint
{{- end}}
- ineffassign
- logcheck
- revive
Expand Down

0 comments on commit 0a162a9

Please sign in to comment.