From 9cf48f0f58f038716cb58bfff09f090449d9f59a Mon Sep 17 00:00:00 2001 From: sentriz Date: Thu, 7 Sep 2023 18:41:54 +0100 Subject: [PATCH] relax the oul linters will you fuckin relax pal --- .golangci.yml | 2 -- scanner/scanner_test.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 889f29f..580c94f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,7 +7,6 @@ linters: disable-all: true enable: - bodyclose - - depguard - dogsled - errcheck - exportloopref @@ -16,7 +15,6 @@ linters: - goconst - gocritic - gocyclo - - goerr113 - goprintffuncname - gosec - gosimple diff --git a/scanner/scanner_test.go b/scanner/scanner_test.go index a05a1bc..86b54f5 100644 --- a/scanner/scanner_test.go +++ b/scanner/scanner_test.go @@ -1,3 +1,4 @@ +//nolint:goconst package scanner_test import (