mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-11 07:39:41 +02:00
golangci: update linter settings for test files
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user