mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
lint: enable canonicalheader linter (#7330)
Enable canonicalheader linter to enforce proper HTTP header casing. This ensures headers use Go's canonical format (e.g., "Content-Type" instead of "content-type") for consistency. Fixes header casing in DoH implementation. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
@@ -2,6 +2,7 @@ version: "2"
|
||||
linters:
|
||||
default: none
|
||||
enable:
|
||||
- canonicalheader
|
||||
- copyloopvar
|
||||
- govet
|
||||
- ineffassign
|
||||
|
||||
Reference in New Issue
Block a user