golangci: remove linter exceptions for itest

This commit is contained in:
yyforyongyu 2023-01-31 20:11:44 +08:00
parent 95738351f5
commit 5bea444b6d
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

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: