mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-30 20:36:33 +00:00

The lucas-clemente/quic-go package moved namespaces and our branch went stale, this new fork provides support for the new quic-go repo and applies the max datagram frame size change. Until the max datagram frame size support gets upstreamed into quic-go, this can be used to unblock go 1.20 support as the old lucas-clemente/quic-go will not get go 1.20 support.
43 lines
969 B
YAML
43 lines
969 B
YAML
run:
|
|
linters-settings:
|
|
depguard:
|
|
type: blacklist
|
|
packages:
|
|
- github.com/marten-seemann/qtls
|
|
- github.com/quic-go/qtls-go1-19
|
|
- github.com/quic-go/qtls-go1-20
|
|
packages-with-error-message:
|
|
- github.com/marten-seemann/qtls: "importing qtls only allowed in internal/qtls"
|
|
- github.com/quic-go/qtls-go1-19: "importing qtls only allowed in internal/qtls"
|
|
- github.com/quic-go/qtls-go1-20: "importing qtls only allowed in internal/qtls"
|
|
misspell:
|
|
ignore-words:
|
|
- ect
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- asciicheck
|
|
- depguard
|
|
- exhaustive
|
|
- exportloopref
|
|
- goimports
|
|
- gofmt # redundant, since gofmt *should* be a no-op after gofumpt
|
|
- gofumpt
|
|
- gosimple
|
|
- ineffassign
|
|
- misspell
|
|
- prealloc
|
|
- staticcheck
|
|
- stylecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- vet
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: internal/qtls
|
|
linters:
|
|
- depguard
|