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>2021-09-01 09:14:27 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-09-01 16:52:05 +0300
commit3a0c2f7d0d7dbd9c2ade2cec1fa3ccb4152fca94 (patch)
tree95ac37a4be9b20c64919091f207ddc108c6c9036 /.golangci-strict.yml
parentfd3c51ee6391cc30208135f88dc07b6b1708fbfd (diff)
golangci: Drop strict linting rules
Back in ce3f2ee42 (Lint: split up "make lint" and "make lint-strict" configs, 2021-01-19), we have split up our linting rules into a "normal" set which needs to be satisfied for each CI run and a "strict" set which only runs on scheduled pipelines. I highly doubt that anybody ever takes a look at the strict linter job: there are no MRs which clean up any of its additional violations. Let's remove this job and be done with it. Anybody wishing to fix up linting rules can just play with our normal linting rules and is unlikely to use CI for this anyway.
Diffstat (limited to '.golangci-strict.yml')
-rw-r--r--.golangci-strict.yml25
1 files changed, 0 insertions, 25 deletions
diff --git a/.golangci-strict.yml b/.golangci-strict.yml
deleted file mode 100644
index 05daa7c0c..000000000
--- a/.golangci-strict.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# options for analysis running
-run:
- # timeout for analysis, e.g. 30s, 5m, default is 1m
- timeout: 5m
- modules-download-mode: readonly
-
-# list of useful linters could be found at https://github.com/golangci/awesome-go-linters
-linters:
- disable-all: true
- enable:
- - errorlint
- - gochecknoglobals
-
-issues:
- exclude-use-default: false
- # Excluding configuration per-path, per-linter, per-text and per-source
- exclude-rules:
- - linters:
- - gochecknoglobals
- path: "internal/metadata/featureflag/feature_flags.go"
- text: "is a global variable"
- # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
- max-issues-per-linter: 0
- # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
- max-same-issues: 0