Updated linter settings

This commit is contained in:
Eduard Urbach 2020-02-10 17:13:49 +09:00
parent 64079373fe
commit e82a9e5e8a
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ steps:
- make tools
- make assets
- make server
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.3
- golangci-lint run
- make db
- go test -v -coverprofile=coverage.txt .

View File

@ -12,6 +12,7 @@ linters:
- gochecknoinits
- gocyclo
- gocognit
- gomnd
- gosec
- stylecheck
- funlen