1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-13 17:51:02 +00:00

staticcheck checks -ST1003 remove

This commit is contained in:
JessonChan
2019-01-22 20:41:07 +08:00
parent 5b42afa324
commit 2a579eb27c
2 changed files with 10 additions and 10 deletions

View File

@ -55,7 +55,7 @@ after_script:
- rm -rf ./res/var/*
script:
- go test -v ./...
- staticcheck -show-ignored -checks "-ST1017,-U1000,-ST1005,-S1034,-S1012,-SA4006,-ST1003,-SA6005,-SA1019"
- staticcheck -show-ignored -checks "-ST1017,-U1000,-ST1005,-S1034,-S1012,-SA4006,-SA6005,-SA1019"
- unconvert $(go list ./... | grep -v /vendor/)
- ineffassign .
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s