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:
Kristoffer Dalby
2026-08-25 09:43:39 +00:00
committed by Kristoffer Dalby
parent 1c6809089f
commit 60bab7633c
+4
View File
@@ -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