mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-06 10:16:40 -05:00
47 lines
661 B
YAML
47 lines
661 B
YAML
run:
|
|
timeout: 5m
|
|
skip-files:
|
|
- generated.*
|
|
|
|
issues:
|
|
new: true
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- errcheck
|
|
- gosec
|
|
|
|
linters:
|
|
enable:
|
|
- bodyclose
|
|
- depguard
|
|
- errcheck
|
|
- exhaustive
|
|
- gocritic
|
|
- gofmt
|
|
- goimports
|
|
- golint
|
|
- goprintffuncname
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- interfacer
|
|
- misspell
|
|
- nakedret
|
|
- noctx
|
|
- nolintlint
|
|
- rowserrcheck
|
|
- scopelint
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
disable:
|
|
- deadcode
|