mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-05 18:49:14 -04:00
Fix lint according to golangci-lint (#439)
This commit is contained in:
6
.github/linters/.golangci.yml
vendored
6
.github/linters/.golangci.yml
vendored
@@ -5,6 +5,10 @@ run:
|
||||
|
||||
issues:
|
||||
new: true
|
||||
exclude-rules:
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- scopelint
|
||||
|
||||
linters:
|
||||
enable:
|
||||
@@ -20,8 +24,6 @@ linters:
|
||||
- ineffassign
|
||||
- misspell
|
||||
- nakedret
|
||||
- noctx
|
||||
- nolintlint
|
||||
- rowserrcheck
|
||||
- scopelint
|
||||
- staticcheck
|
||||
|
||||
Reference in New Issue
Block a user