mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-06 07:02:18 +02:00
lint: ensure the linter checks fmt.Errorf error wrapping
This commit is contained in:
@@ -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