mirror of https://github.com/go-redis/redis.git
Bump golangci-lint to v1.21.0
This commit is contained in:
parent
da5cd5af3e
commit
b403828de2
|
@ -5,7 +5,11 @@ run:
|
||||||
linters:
|
linters:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
disable:
|
disable:
|
||||||
|
- funlen
|
||||||
- gochecknoglobals
|
- gochecknoglobals
|
||||||
|
- gocognit
|
||||||
- goconst
|
- goconst
|
||||||
|
- godox
|
||||||
- gosec
|
- gosec
|
||||||
- maligned
|
- maligned
|
||||||
|
- wsl
|
||||||
|
|
|
@ -20,4 +20,4 @@ env:
|
||||||
go_import_path: github.com/go-redis/redis
|
go_import_path: github.com/go-redis/redis
|
||||||
|
|
||||||
before_install:
|
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
|
||||||
|
|
|
@ -1863,7 +1863,6 @@ func (cmd *GeoPosCmd) readReply(rd *proto.Reader) error {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
})
|
})
|
||||||
return cmd.err
|
return cmd.err
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue