Files
quic-go/.golangci.yml
Marten Seemann 2ed1593b6e ci: update golangci-lint-action to v6 and golangci-lint to v1.58.0 (#4494)
* ci: update golangci-lint-action to v6 and golangci-lint to v1.58.0

* use issues.exclude-files instead of run.skip-files

* rename vet to govet
2024-05-06 19:05:38 -07:00

43 lines
761 B
YAML

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