Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Strokov <pstrokov@gitlab.com>2021-07-28 11:58:28 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2021-07-29 10:57:07 +0300
commit794589bb744ba44059b801dc37630997719cbaed (patch)
tree952539cf44de1b22ee66fd242c102289b4dc527a /.golangci.yml
parent9bfaa0060f63c35115ada469bc833a199ac3dd67 (diff)
lint: Fix deprecated import github.com/golang/protobuf/ptypes
The dependency github.com/golang/protobuf is deprecated and should be replaced with google.golang.org/protobuf. This change replaces usage of the ptypes package. The replacement packages has a different structure and it requires code changes to be done to migrate. The exclusion rules removed from the golanci-lint tool configuration file to prevent future use of the deprecated package.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml12
1 files changed, 0 insertions, 12 deletions
diff --git a/.golangci.yml b/.golangci.yml
index a07887ff4..18171951f 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -705,22 +705,10 @@ issues:
## BEGIN staticcheck exclusions
- linters:
- staticcheck
- text: "package github.com/golang/protobuf/ptypes 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"
## END staticcheck exclusions
# govet checks all struct initializations must be keyed by field names
- linters: