1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/.github/linters/.golangci.yml

40 lines
555 B
YAML

run:
timeout: 5m
skip-files:
- generated.*
issues:
new: true
exclude-rules:
- linters:
- staticcheck
text: "SA1019:"
linters:
enable:
- bodyclose
- depguard
- gocritic
- gofmt
- goimports
- golint
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- whitespace
disable:
- deadcode
- errcheck
- unused