1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-01 00:06:11 -04:00
v2fly/.github/linters/.golangci.yml
2022-06-28 21:36:12 +08:00

53 lines
803 B
YAML

run:
timeout: 5m
skip-files:
- generated.*
- .*_test.go
- proxy/vlite/*
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
revive:
rules:
- name: blank-imports
severity: warning
disabled: true