1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 05:00:54 +00:00

Setup ignore list for gosimple

This commit is contained in:
Faissal Elamraoui 2017-04-03 00:01:23 +02:00
parent 1e478bb32e
commit a22baf1b65
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@ install:
script: script:
- go vet $(go list ./... | grep -v /vendor/) - go vet $(go list ./... | grep -v /vendor/)
- structcheck $(go list ./... | grep -v /vendor/) - structcheck $(go list ./... | grep -v /vendor/)
- gosimple -ignore "github.com/beego/bee/cmd/commands/run/*.go:S1024" $(go list ./... | grep -v /vendor/) - gosimple -ignore "$(cat gosimple.ignore)" $(go list ./... | grep -v /vendor/)
- staticcheck $(go list ./... | grep -v /vendor/) - staticcheck $(go list ./... | grep -v /vendor/)
- unused $(go list ./... | grep -v /vendor/) - unused $(go list ./... | grep -v /vendor/)
- unconvert $(go list ./... | grep -v /vendor/) - unconvert $(go list ./... | grep -v /vendor/)

2
gosimple.ignore Normal file
View File

@ -0,0 +1,2 @@
github.com/beego/bee/cmd/commands/run/*.go:S1024
github.com/beego/bee/cmd/commands/dlv/*.go:S1024