From 5e301ccaaf682e4b3cb09427ce9ae4f72a1983c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sun, 20 Mar 2022 14:33:43 +0800 Subject: [PATCH] fix lint --- .golangci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 53e95137..047abed8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,10 +6,6 @@ linters-settings: goimports: local-prefixes: github.com/FloatTech/ZeroBot-Plugin - gocritic: - disabled-checks: - - exitAfterDefer - forbidigo: # Forbid the following identifiers forbid: @@ -30,7 +26,7 @@ linters: - exhaustive #- funlen #- goconst - - gocritic + #- gocritic #- gocyclo - gofmt - goimports