mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-09 11:51:02 -05:00
dce8764fd7
* Lint: replace golint with revive * Lint: fix lint
46 lines
668 B
YAML
46 lines
668 B
YAML
run:
|
|
timeout: 5m
|
|
skip-files:
|
|
- generated.*
|
|
|
|
issues:
|
|
new: true
|
|
exclude-rules:
|
|
- linters:
|
|
- staticcheck
|
|
text: "SA1019:"
|
|
|
|
linters:
|
|
enable:
|
|
- asciicheck
|
|
- bodyclose
|
|
- depguard
|
|
- gocritic
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- goprintffuncname
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- revive
|
|
- rowserrcheck
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- varcheck
|
|
- whitespace
|
|
disable:
|
|
- deadcode
|
|
- errcheck
|
|
- unused
|
|
|
|
linters-settings:
|
|
goimports:
|
|
local-prefixes: github.com/v2fly/v2ray-core
|