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

46 lines
668 B
YAML
Raw Normal View History

2020-09-04 05:38:15 +00:00
run:
timeout: 5m
2020-09-09 09:50:36 +00:00
skip-files:
- generated.*
2020-09-04 05:38:15 +00:00
issues:
new: true
exclude-rules:
- linters:
- staticcheck
text: "SA1019:"
2020-09-04 05:38:15 +00:00
linters:
enable:
- asciicheck
2020-09-04 05:38:15 +00:00
- bodyclose
- depguard
- gocritic
- gofmt
- gofumpt
2020-09-04 05:38:15 +00:00
- goimports
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- revive
2020-09-04 05:38:15 +00:00
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- whitespace
2020-10-09 14:06:40 +00:00
disable:
- deadcode
2020-10-09 16:19:09 +00:00
- errcheck
- unused
linters-settings:
goimports:
local-prefixes: github.com/v2fly/v2ray-core