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-28 09:50:41 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-11-09 11:54:55 +0300
commitbf526b8f62d87106d1f340b9c839444c4e150cca (patch)
tree3ebb7d215cee6003243fcc9e6cf0f0c0247fecc9
parent664139e38b6798eff770ef71a05f688b729459a9 (diff)
golangci-lint: Disable linters incompatible with Go 1.18
Some of our enabled linters are still incompatible with Go 1.18. Disable them.
-rw-r--r--.golangci.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml
index b96b5beeb..635fc2299 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -28,14 +28,17 @@ linters:
- noctx
- nolintlint
- revive
- - rowserrcheck
- - sqlclosecheck
- staticcheck
- stylecheck
- thelper
- unconvert
- unused
- - wastedassign
+ # These linters don't currently support Go 1.18+. Please refer to
+ # https://github.com/golangci/golangci-lint/issues/2649 for further
+ # information.
+ #- rowserrcheck
+ #- sqlclosecheck
+ #- wastedassign
linters-settings:
depguard: