From 1296e7ebf0e67ebd4e5346b98b6db3dde60b41ed Mon Sep 17 00:00:00 2001 From: MinerYang Date: Mon, 1 Aug 2022 16:58:51 +0800 Subject: [PATCH] Enable staticcheck (#17286) enable golangci-lint staticcheck enable staticcheck in golangci-lint Signed-off-by: yminer --- src/.golangci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.golangci.yaml b/src/.golangci.yaml index 378712680..c892cb6d8 100644 --- a/src/.golangci.yaml +++ b/src/.golangci.yaml @@ -42,7 +42,7 @@ linters: - govet # - noctx # - rowserrcheck - # - staticcheck + - staticcheck - structcheck - stylecheck # - unconvert