Skip to content

Commit 810a7c9

Browse files
committed
Disable flaky unused nolint detection
golangci/golangci-lint#3228 Signed-off-by: Andrew Haines <haines@cerbos.dev>
1 parent 56008f6 commit 810a7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.golangci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ linters-settings:
4141
- shadow
4242

4343
nolintlint:
44-
allow-unused: false
44+
allow-unused: true # false would be preferable, but it's flaky (https://git.1-hub.cngolangci/golangci-lint/issues/3228)
4545
allow-leading-space: false
4646
require-specific: true
4747

0 commit comments

Comments
 (0)