Enabled a few linters

This commit is contained in:
2019-05-08 17:16:47 +09:00
parent 868ba2ba99
commit 28aef487c5
5 changed files with 14 additions and 15 deletions

View File

@ -13,6 +13,8 @@ steps:
- tsc
- pack
- go build -v
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
- golangci-lint run --disable-all --enable deadcode --enable misspell --enable prealloc
- go test -v -coverprofile=coverage.txt .
# - go mod download
# - make tools
@ -22,8 +24,6 @@ steps:
# - tsc
# - pack
# - make server
# - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
# - golangci-lint run --enable dupl
# - make bots jobs patches
# - git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
# - go test -v -coverprofile=coverage.txt ./...