Bump golangci-lint to v1.21.0

This commit is contained in:
ferhat elmas 2019-11-18 18:46:09 +01:00
parent da5cd5af3e
commit b403828de2
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
}
//------------------------------------------------------------------------------