From 9631ec7f7735eeee5a6c37f27307e3aac8e66fca Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Tue, 26 Nov 2024 12:52:21 +0200 Subject: [PATCH] Enable golangci-lint for tests --- .golangci.yml | 5 ----- internal/directive/directive_test.go | 1 - 2 files changed, 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 26e2ec7..9f10bef 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,3 @@ -run: - tests: false - linters: enable: - errcheck @@ -63,7 +60,6 @@ linters: - noctx - nolintlint - nosprintfhostport - - paralleltest - perfsprint - prealloc - predeclared @@ -82,7 +78,6 @@ linters: - testifylint - testpackage - thelper - - tparallel - unconvert - unparam - usestdlibvars diff --git a/internal/directive/directive_test.go b/internal/directive/directive_test.go index 9f23a35..770f853 100644 --- a/internal/directive/directive_test.go +++ b/internal/directive/directive_test.go @@ -149,5 +149,4 @@ func TestIgnore_ShouldIgnore(t *testing.T) { } }) } - }