1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 01:27:03 -05:00

Refine golangci-lint settings (#293)

This commit is contained in:
Loyalsoldier 2020-10-09 22:06:40 +08:00 committed by GitHub
parent 807922f883
commit ed97a250e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,5 @@
run:
timeout: 5m
skip-dirs:
- external
skip-files:
- generated.*
@ -10,24 +8,16 @@ issues:
exclude-rules:
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
- goconst
linters:
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- exhaustive
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
@ -52,3 +42,5 @@ linters:
- unused
- varcheck
- whitespace
disable:
- deadcode