mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
adjust depguard linter rule
This commit is contained in:
parent
8de2f27043
commit
dec83fbd99
6
.github/linters/.golangci.yml
vendored
6
.github/linters/.golangci.yml
vendored
@ -52,3 +52,9 @@ linters-settings:
|
|||||||
- name: blank-imports
|
- name: blank-imports
|
||||||
severity: warning
|
severity: warning
|
||||||
disabled: true
|
disabled: true
|
||||||
|
depguard:
|
||||||
|
rules:
|
||||||
|
Main:
|
||||||
|
deny:
|
||||||
|
- pkg: "github.com/pkg/errors"
|
||||||
|
desc: Should be replaced by standard lib errors package
|
||||||
|
Loading…
Reference in New Issue
Block a user