1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-02 03:55:24 +00:00
v2fly/.github/linters/.golangci.yml

55 lines
782 B
YAML
Raw Normal View History

2020-09-04 05:38:15 +00:00
run:
timeout: 5m
2020-09-04 05:38:15 +00:00
skip-dirs:
- external
2020-09-09 09:50:36 +00:00
skip-files:
- generated.*
2020-09-04 05:38:15 +00:00
issues:
new: true
exclude-rules:
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
- goconst
2020-09-04 05:38:15 +00:00
linters:
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- exhaustive
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- interfacer
- misspell
- nakedret
- noctx
- nolintlint
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace