mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-10 02:31:59 +09:00
golangci-lint: disable canonicalheader
canonicalheader v1.1.2 nil-derefs on a package that has both a generic method and an http.Header.Set call, which aborts the whole lint run.
This commit is contained in:
committed by
Kristoffer Dalby
parent
1c6809089f
commit
60bab7633c
@@ -3,6 +3,10 @@ version: "2"
|
||||
linters:
|
||||
default: all
|
||||
disable:
|
||||
# canonicalheader v1.1.2 panics (nil deref) on a generic method in a
|
||||
# package that also calls http.Header.Set. Re-enable once golangci-lint
|
||||
# ships a version that parses Go 1.27 generic methods.
|
||||
- canonicalheader
|
||||
- cyclop
|
||||
- depguard
|
||||
- dupl
|
||||
|
||||
Reference in New Issue
Block a user