mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 13:27:56 +01:00
golangci: update linter settings for test files
This commit is contained in:
parent
0dd2aa0aef
commit
a9da25b238
@ -214,10 +214,17 @@ issues:
|
||||
- gosec
|
||||
- funlen
|
||||
- revive
|
||||
# Allow duplications in tests so it's easier to follow a single unit
|
||||
# test.
|
||||
- dupl
|
||||
|
||||
- path: mock*
|
||||
linters:
|
||||
- revive
|
||||
# forcetypeassert is skipped for the mock because the test would fail
|
||||
# if the returned value doesn't match the type, so there's no need to
|
||||
# check the convert.
|
||||
- forcetypeassert
|
||||
|
||||
- path: test*
|
||||
linters:
|
||||
|
Loading…
Reference in New Issue
Block a user