From 77991605b293e9e9ca0ca517e562ebd557f5fff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8D=E1=B4=8F=E1=B4=8F=C9=B4D4=CA=80=E1=B4=8B?= Date: Sat, 13 Aug 2022 20:11:56 +0800 Subject: [PATCH] chore: disable some lint ruler --- .golangci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 5315d41..bd2a97b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,7 +15,6 @@ linters: - 'errorlint' - 'exportloopref' - 'gofmt' - - 'gofumpt' - 'goheader' - 'goimports' - 'gomodguard' @@ -49,9 +48,14 @@ issues: exclude: - should have a package comment - should have comment + # G101: Potential hardcoded credentials + - G101 # G103: Use of unsafe calls should be audited - G103 - # G404: Use of weak random number generator (math/rand instead of crypto/rand) + # G404, G401, G502, G505 weak cryptographic list + - G401 - G404 + - G502 + - G505 max-issues-per-linter: 0 max-same-issues: 0