1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-06 02:06:28 -05:00
v2fly/.github/linters/.golangci.yml

40 lines
555 B
YAML
Raw Normal View History

2020-09-04 01:38:15 -04:00
run:
timeout: 5m
2020-09-09 05:50:36 -04:00
skip-files:
- generated.*
2020-09-04 01:38:15 -04:00
issues:
new: true
exclude-rules:
- linters:
- staticcheck
text: "SA1019:"
2020-09-04 01:38:15 -04:00
linters:
enable:
- bodyclose
- depguard
- gocritic
- gofmt
- goimports
- golint
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- whitespace
2020-10-09 10:06:40 -04:00
disable:
- deadcode
2020-10-09 12:19:09 -04:00
- errcheck
- unused