From 978b8e69d79b88c1d266df7be9ffb6341467bb8e Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Mon, 3 Jun 2024 15:34:22 +0200 Subject: [PATCH] update golang critics --- .golangci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index ed696be..a3ef072 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -52,11 +52,13 @@ linters: - err113 # deprecated - deadcode + - execinquery + - golint + - gomnd + - nosnakecase + - scopelint - structcheck - varcheck - - scopelint - - nosnakecase - - golint issues: max-same-issues: 0 exclude-use-default: true @@ -108,7 +110,7 @@ issues: - path: _test.*\.go linters: - errcheck - - gomnd + - mnd - dupword - funlen - lll