golangci: remove linter exceptions for itest

This commit is contained in:
yyforyongyu committed 2023-02-23 21:56:12 +08:00
1 parent 95738351f5
commit 5bea444b6d
1 file changed
+3 -7
+3 -7
View File
@@ -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: