lint: ensure the linter checks fmt.Errorf error wrapping
This commit is contained in:
1 file changed
+4
@@ -30,6 +30,10 @@ run:
|
|||||||
- integration
|
- integration
|
||||||
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
|
errorlint:
|
||||||
|
# Check for incorrect fmt.Errorf error wrapping.
|
||||||
|
errorf: true
|
||||||
|
|
||||||
govet:
|
govet:
|
||||||
# Don't report about shadowed variables
|
# Don't report about shadowed variables
|
||||||
check-shadowing: false
|
check-shadowing: false
|
||||||
|
|||||||
Reference in new issue
Block a user