dnscrypt-proxy/vendor/github.com/quic-go/quic-go/.golangci.yml

43 lines
969 B
YAML
Raw Normal View History

2022-07-21 18:50:10 +02:00
run:
linters-settings:
depguard:
type: blacklist
packages:
- github.com/marten-seemann/qtls
2023-05-01 16:05:02 +02:00
- github.com/quic-go/qtls-go1-19
- github.com/quic-go/qtls-go1-20
2022-07-21 18:50:10 +02:00
packages-with-error-message:
- github.com/marten-seemann/qtls: "importing qtls only allowed in internal/qtls"
2023-05-01 16:05:02 +02:00
- 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"
2022-07-21 18:50:10 +02:00
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