1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-26 20:16:55 -05:00
v2fly/.github/linters/.golangci.yml
Loyalsoldier d7a202a705
Lint: update linter config & fix code style (#1089)
* Lint: update linter config
* Fix: code style
2021-06-22 22:36:23 +08:00

46 lines
666 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
- golint
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- whitespace
disable:
- deadcode
- errcheck
- unused
linters-settings:
goimports:
local-prefixes: github.com/v2fly/v2ray-core