mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-23 15:22:38 +02:00
golangci: remove linter exceptions for itest
This commit is contained in:
parent
95738351f5
commit
5bea444b6d
@ -97,6 +97,7 @@ linters-settings:
|
|||||||
ignored-functions:
|
ignored-functions:
|
||||||
- 'math.*'
|
- 'math.*'
|
||||||
- 'strconv.ParseInt'
|
- 'strconv.ParseInt'
|
||||||
|
- 'errors.Wrap'
|
||||||
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
@ -238,14 +239,9 @@ issues:
|
|||||||
linters:
|
linters:
|
||||||
- forbidigo
|
- forbidigo
|
||||||
|
|
||||||
# Fix false positives because of build flags in itest directory.
|
- path: itest/.*
|
||||||
- path: lntest/itest/.*
|
|
||||||
linters:
|
linters:
|
||||||
- unused
|
- paralleltest
|
||||||
- unparam
|
|
||||||
- govet
|
|
||||||
# itest case can be very long so we disable long function check.
|
|
||||||
- funlen
|
|
||||||
|
|
||||||
- path: lnmock/*
|
- path: lnmock/*
|
||||||
linters:
|
linters:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user