lint: allow security replace directives

This commit is contained in:
Oliver Gugger committed 2023-05-11 22:52:52 +02:00
1 parent b5d23bba06
commit 5583926fb9
1 file changed
+7
+7
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: