lint: allow security replace directives
This commit is contained in:
1 file changed
+7
@@ -99,6 +99,13 @@ linters-settings:
|
|||||||
- 'strconv.ParseInt'
|
- 'strconv.ParseInt'
|
||||||
- 'errors.Wrap'
|
- '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:
|
linters:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
|
|||||||
Reference in new issue
Block a user