File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
13linters :
24 disable-all : true
35 enable :
46 - errcheck
5- - gosimple
67 - govet
78 - ineffassign
89 - staticcheck
9- - typecheck
1010 - unused
1111 - misspell
1212 - lll
13+
1314linters-settings :
1415 lll :
1516 # max line length, lines longer will be reported. Default is 120.
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ shift $((OPTIND-1))
5353
5454export GOOS=linux
5555if [ ! " ${DO_DOCKER-} " ]; then
56- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b " $( go env GOPATH) " /bin v1.64.8
56+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b " $( go env GOPATH) " /bin v2.6.2
5757 " $( go env GOPATH) " /bin/golangci-lint run -v --timeout=1200s
5858else
59- docker run --rm -v " $( pwd) " :/app -w /app golangci/golangci-lint:v1.64.8 golangci-lint run -v --timeout=1200s
59+ docker run --rm -v " $( pwd) " :/app -w /app golangci/golangci-lint:v2.6.2 golangci-lint run -v --timeout=1200s
6060fi
You can’t perform that action at this time.
0 commit comments