diff options
author | Mikhail Mazurskiy <mmazurskiy@gitlab.com> | 2021-05-01 03:31:58 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-06-11 09:11:14 +0300 |
commit | 62cb10ffed99c3c3a2e0dcaec9d673b90dda437a (patch) | |
tree | b4c1d37799f46e1ba7cba4c67a2060ce98b48578 /.golangci.yml | |
parent | 58e7bd4be15c69f9bac3ff5a407e53f9f08a1f90 (diff) |
Fix linting issues
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index 299976cbf..1b14fe8be 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -814,6 +814,38 @@ issues: text: "Error return value of `strategy.checkNodes` is not checked" ## END errcheck exclusions ## + ## BEGIN staticcheck exclusions + - linters: + - staticcheck + text: "package github.com/golang/protobuf/proto is deprecated" + - linters: + - staticcheck + text: "package github.com/golang/protobuf/jsonpb is deprecated" + - linters: + - staticcheck + text: "package github.com/golang/protobuf/ptypes is deprecated" + - linters: + - staticcheck + text: "grpc.CustomCodec is deprecated" + - linters: + - staticcheck + text: "proto.MessageName is deprecated" + - linters: + - staticcheck + text: "ptypes.Timestamp is deprecated" + - linters: + - staticcheck + text: "resp.OldPath is deprecated" + - linters: + - staticcheck + text: "resp.NewPath is deprecated" + - linters: + - staticcheck + text: "proto.MessageType is deprecated" + - linters: + - staticcheck + text: "proto.FileDescriptor is deprecated" + ## END staticcheck exclusions # govet checks all struct initializations must be keyed by field names - linters: - govet |