File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ run :
4+ # Skip files and directories
5+ skip-files :
6+ - " .*_test\\ .go$" # Skip all test files
7+ skip-dirs :
8+ - " tests/e2e" # Skip e2e test directory
9+
110linters :
211 disable-all : true
312 enable :
413 - errcheck
5- - gosimple
614 - govet
715 - ineffassign
816 - staticcheck
9- - typecheck
1017 - unused
1118 - misspell
1219 - lll
20+
1321linters-settings :
1422 lll :
1523 # 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