Skip to content

Commit 48d0e25

Browse files
committed
backend: remove flaky nolintlint linter
The nolintlint linter has a known cache-related bug (golangci/golangci-lint#3228) that causes false positives, intermittently reporting valid //nolint directives as unused in CI.
1 parent bceb9f8 commit 48d0e25

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

backend/.golangci.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ linters:
3030
- nilerr
3131
- nilnesserr
3232
- noctx
33-
- nolintlint
33+
3434
- reassign
3535
- revive
3636
- rowserrcheck
@@ -76,10 +76,6 @@ linters:
7676
- G117 # Exported struct fields matching secret patterns - false positives on config structs
7777
- G704 # SSRF via taint analysis - false positive on HTTP clients
7878
- G705 # XSS via taint analysis - false positives on HTTP response writers
79-
nolintlint:
80-
require-explanation: true
81-
require-specific: true
82-
allow-unused: false
8379
sloglint:
8480
attr-only: true
8581
no-global: all

0 commit comments

Comments
 (0)