golangci-lint: Disable ifElseChain go-critic rule

Disable the ifElseChain rule of the go-critic linter because it isn't of
the taste of Storj.

Change-Id: I26a36d32061c0675e5ec1e4e95e243b2b5af1e46
This commit is contained in:
Ivan Fraixedes 2020-03-10 18:51:51 +01:00 committed by Egon Elbre
parent 46b04a38cc
commit eda8778f48

View File

@ -75,6 +75,9 @@ linters-settings:
# 2. you use go >= 1.10
# 3. you do repeated runs (false for CI) or cache $GOPATH/pkg or `go env GOCACHE` dir in CI.
use-installed-packages: false
gocritic:
disabled-checks:
- ifElseChain
goimports:
local: "storj.io"
golint: