From f89e33d7196a7406c04f21df43c6dbe6f87429cc Mon Sep 17 00:00:00 2001 From: Kagaya Date: Wed, 1 Sep 2021 12:59:16 +0800 Subject: [PATCH] ci: adjust magic number check (#1402) --- .golangci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 843234ec1..ef01f7550 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -59,8 +59,8 @@ linters-settings: gomnd: settings: mnd: - # don't include the "operation" and "assign" - checks: argument,case,condition,return + # don't include the "operation", "argument" and "assign" + checks: case,condition,return goconst: ignore-tests: true gocyclo: