mirror of
https://github.com/beego/bee.git
synced 2024-12-22 10:00:50 +00:00
Setup ignore list for gosimple
This commit is contained in:
parent
1e478bb32e
commit
a22baf1b65
@ -13,7 +13,7 @@ install:
|
||||
script:
|
||||
- go vet $(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/)
|
||||
- unused $(go list ./... | grep -v /vendor/)
|
||||
- unconvert $(go list ./... | grep -v /vendor/)
|
||||
|
2
gosimple.ignore
Normal file
2
gosimple.ignore
Normal file
@ -0,0 +1,2 @@
|
||||
github.com/beego/bee/cmd/commands/run/*.go:S1024
|
||||
github.com/beego/bee/cmd/commands/dlv/*.go:S1024
|
Loading…
Reference in New Issue
Block a user