Browse Source

Setup ignore list for gosimple

pull/392/head
Faissal Elamraoui 5 years ago
parent
commit
a22baf1b65
  1. 2
      .travis.yml
  2. 2
      gosimple.ignore

2
.travis.yml

@ -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

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