Skip to content

Commit 206581a

Browse files
authored
Merge pull request #1193 from ferhatelmas/bump-golangci
Bump golangci-lint to v1.21.0
2 parents da5cd5a + b403828 commit 206581a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ run:
55
linters:
66
enable-all: true
77
disable:
8+
- funlen
89
- gochecknoglobals
10+
- gocognit
911
- goconst
12+
- godox
1013
- gosec
1114
- maligned
15+
- wsl

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ env:
2020
go_import_path: github.com/go-redis/redis
2121

2222
before_install:
23-
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
23+
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0

command.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,6 @@ func (cmd *GeoPosCmd) readReply(rd *proto.Reader) error {
18631863
return nil, nil
18641864
})
18651865
return cmd.err
1866-
18671866
}
18681867

18691868
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)