Skip to content

Commit

Permalink
.reviewdog.yml: use warning level for errcheck,revive,golagnci
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Oct 5, 2019
1 parent 6608494 commit 09e366a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .reviewdog.yml
Expand Up @@ -12,6 +12,7 @@ runner:
cmd: errcheck -asserts -ignoretests -blank $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c:%m"
level: warning
staticcheck:
cmd: staticcheck $(go list ./... | grep -v /vendor/)
errorformat:
Expand All @@ -27,9 +28,11 @@ runner:
revive:
cmd: revive -config=.revive.toml $(go list ./... | grep -v /vendor/)
format: golint
level: warning
golangci:
cmd: golangci-lint run --out-format=line-number ./...
errorformat:
- '%E%f:%l:%c: %m'
- '%E%f:%l: %m'
- '%C%.%#'
level: warning

0 comments on commit 09e366a

Please sign in to comment.