mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 01:27:03 -05:00
41 lines
571 B
YAML
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
|