From 5bea444b6dada1774e62672680498d8e79002b4e Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Tue, 31 Jan 2023 20:11:44 +0800 Subject: [PATCH] golangci: remove linter exceptions for itest --- .golangci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e6316815d..4bbce4669 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -97,6 +97,7 @@ linters-settings: ignored-functions: - 'math.*' - 'strconv.ParseInt' + - 'errors.Wrap' linters: @@ -238,14 +239,9 @@ issues: linters: - forbidigo - # Fix false positives because of build flags in itest directory. - - path: lntest/itest/.* + - path: itest/.* linters: - - unused - - unparam - - govet - # itest case can be very long so we disable long function check. - - funlen + - paralleltest - path: lnmock/* linters: