mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
lint: ensure the linter checks fmt.Errorf error wrapping
This commit is contained in:
parent
b234658945
commit
581c16d72f
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue