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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-10-14 14:48:14 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-10-14 14:53:52 +0300
commit3f21a2c65450cdf2b970ba2879e95b0f7b1013d0 (patch)
treef3d8a6235bc5c36acb7bf2b7172438d2b15e90ab
parent5df7c2bf5ec7ccfccee28c38fe3838a21b1a66e3 (diff)
golangci-lint: Disable linter that mandates package comments
We don't typically have package-level comments, even though we arguably should. And while we don't have any such comments in the general case, the Revive rule never complained about them. This is because the reported confidence was setto 0.2, and as a result it never got printed. This was fixed via Revive v1.2.2 so that these violations are now reported. Let's thus disable the rule.
-rw-r--r--.golangci.yml2
1 files changed, 0 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml
index d6dd53f25..f8f95b73b 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -108,8 +108,6 @@ linters-settings:
disabled: false
- name: indent-error-flow
disabled: false
- - name: package-comments
- disabled: false
- name: receiver-naming
disabled: false
- name: range