Merge pull request #1193 from ferhatelmas/bump-golangci

Bump golangci-lint to v1.21.0
This commit is contained in:
Vladimir Mihailenco 2019-11-19 10:00:03 +02:00 committed by GitHub
commit 206581a471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,11 @@ run:
linters:
enable-all: true
disable:
- funlen
- gochecknoglobals
- gocognit
- goconst
- godox
- gosec
- maligned
- wsl

View File

@ -20,4 +20,4 @@ env:
go_import_path: github.com/go-redis/redis
before_install:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0

View File

@ -1863,7 +1863,6 @@ func (cmd *GeoPosCmd) readReply(rd *proto.Reader) error {
return nil, nil
})
return cmd.err
}
//------------------------------------------------------------------------------