Skip to content

Commit

Permalink
lint: ensure the linter checks fmt.Errorf error wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ffranr committed Feb 27, 2024
1 parent b234658 commit 581c16d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ run:
- integration

linters-settings:
errorlint:
# Check for incorrect fmt.Errorf error wrapping.
errorf: true

govet:
# Don't report about shadowed variables
check-shadowing: false
Expand Down

0 comments on commit 581c16d

Please sign in to comment.