From 7a87a335936c10b83ebf4896ae0512b44d17268f Mon Sep 17 00:00:00 2001 From: silenceper Date: Sun, 24 Sep 2023 11:09:11 +0800 Subject: [PATCH] Update .golangci.yml --- .golangci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index dfd6e3b..bfd9e71 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -41,7 +41,9 @@ issues: - path: _test\.go linters: - gomnd - + - linters: + - stylecheck + text: "ST1000:" # https://github.com/go-critic/go-critic/issues/926 - linters: - gocritic @@ -52,10 +54,3 @@ linters-settings: lines: 66 statements: 40 -issues: - include: - - EXC0002 # disable excluding of issues about comments from golint - exclude-rules: - - linters: - - stylecheck - text: "ST1000:"