mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
lint: allow security replace directives
This commit is contained in:
parent
b5d23bba06
commit
5583926fb9
@ -98,6 +98,13 @@ linters-settings:
|
||||
- 'math.*'
|
||||
- 'strconv.ParseInt'
|
||||
- 'errors.Wrap'
|
||||
|
||||
gomoddirectives:
|
||||
replace-allow-list:
|
||||
# See go.mod for the explanation why these are needed.
|
||||
- github.com/ulikunitz/xz
|
||||
- github.com/gogo/protobuf
|
||||
- google.golang.org/protobuf
|
||||
|
||||
|
||||
linters:
|
||||
|
Loading…
Reference in New Issue
Block a user