diff --git a/.golangci.yml b/.golangci.yml index 4bbce4669..a6e1ad630 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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: