status-go/vendor/github.com/quic-go/quic-go/.golangci.yml

46 lines
819 B
YAML
Raw Normal View History

2022-04-01 16:16:46 +00:00
linters-settings:
misspell:
ignore-words:
- ect
2024-06-05 20:10:03 +00:00
depguard:
rules:
quicvarint:
list-mode: strict
files:
- "**/github.com/quic-go/quic-go/quicvarint/*"
- "!$test"
allow:
- $gostd
2022-04-01 16:16:46 +00:00
linters:
disable-all: true
enable:
- asciicheck
- depguard
- exhaustive
- exportloopref
- goimports
- gofmt # redundant, since gofmt *should* be a no-op after gofumpt
- gofumpt
- gosimple
2024-06-05 20:10:03 +00:00
- govet
2022-04-01 16:16:46 +00:00
- ineffassign
- misspell
- prealloc
- staticcheck
- stylecheck
- unconvert
- unparam
- unused
issues:
2024-06-05 20:10:03 +00:00
exclude-files:
- internal/handshake/cipher_suite.go
2022-04-01 16:16:46 +00:00
exclude-rules:
- path: internal/qtls
linters:
- depguard
2024-06-05 20:10:03 +00:00
- path: _test\.go
linters:
- exhaustive