From b41be14f3303319c0d82c6cee92ff483bf3e5927 Mon Sep 17 00:00:00 2001 From: Christopher Tarry Date: Mon, 3 Jun 2024 10:19:05 -0400 Subject: [PATCH] add sqlclosecheck linter --- .golangci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 0d11f13f..2f940024 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -130,6 +130,9 @@ linters-settings: - name: package-comments disabled: true + sqlclosecheck: + closed: true + linters: disable-all: true fast: false @@ -142,6 +145,7 @@ linters: - misspell - typecheck - whitespace + - sqlclosecheck issues: # Maximum issues count per one linter. Set to 0 to disable. Default is 50.