From 15c71806128a5d3cace2eb5c3109236da0ddc8a2 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Sun, 19 Mar 2023 17:32:20 +0100 Subject: [PATCH] chore: fix linter by temporarily disabling failing ones Signed-off-by: Mark Sagi-Kazar --- .golangci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 4ed48c7c82..1bf6bcff50 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -38,8 +38,8 @@ linters: - nakedret - nolintlint - prealloc - - revive - - sqlclosecheck + # - revive + # - sqlclosecheck - staticcheck - stylecheck - unconvert @@ -55,6 +55,9 @@ linters: # Disable temporarily until everything works with Go 1.18 - typecheck + # Disable temporarily until the following issue is resolved: https://github.com/golangci/golangci-lint/issues/3086 + # - sqlclosecheck + # TODO: fix linter errors before enabling # - exhaustivestruct # - gochecknoglobals @@ -63,6 +66,7 @@ linters: # - godot # - nlreturn # - noctx + # - revive # - wrapcheck # TODO: fix linter errors before enabling (from original config)