golangci: remove linter exceptions for itest
This commit is contained in:
1 file changed
+3
-7
+3
-7
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user