1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 01:27:03 -05:00
v2fly/.github/linters/.golangci.yml
2020-11-22 05:05:01 +08:00

41 lines
571 B
YAML

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