lint: allow security replace directives

This commit is contained in:
Oliver Gugger 2023-05-08 14:54:15 +02:00
parent b5d23bba06
commit 5583926fb9
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -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: