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:
parent
46b04a38cc
commit
eda8778f48
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user