Skip to content

Commit 581c16d

Browse files
committed
lint: ensure the linter checks fmt.Errorf error wrapping
1 parent b234658 commit 581c16d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ run:
3030
- integration
3131

3232
linters-settings:
33+
errorlint:
34+
# Check for incorrect fmt.Errorf error wrapping.
35+
errorf: true
36+
3337
govet:
3438
# Don't report about shadowed variables
3539
check-shadowing: false

0 commit comments

Comments
 (0)