Skip to content

Commit 8ab422b

Browse files
author
Sergio Andres Virviescas Santana
committed
Upgrade golangci-lint to v1.35.0
1 parent 1690b4b commit 8ab422b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.golangci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ linters:
66
- gochecknoglobals
77
- testpackage
88
- goerr113
9+
- exhaustivestruct
10+
- paralleltest
911
- nolintlint

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
include:
2626
- stage: lint
2727
script:
28-
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
28+
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.35.0
2929
- golangci-lint run
3030

3131
- stage: cross compilation

requestid_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ func Test_New(t *testing.T) { //nolint:funlen
4848
tt := test
4949

5050
t.Run(tt.name, func(t *testing.T) {
51+
t.Helper()
52+
5153
ctx := new(atreugo.RequestCtx)
5254
ctx.RequestCtx = new(fasthttp.RequestCtx)
5355

0 commit comments

Comments
 (0)