Skip to content

Commit

Permalink
Fix reviewdog gofmt action, add govet
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-kreuzberger-dtx committed Mar 31, 2020
1 parent 5b949e7 commit fbfb0d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
runner:
# examples
golint:
cmd: golint ./...
errorformat:
- "%f:%l:%c: %m"
level: warning
gofmt:
cmd: gofmt -l .
cmd: gofmt -l -s .|xargs -I{} echo {}:1 file {} is not gofmted
errorformat:
- "%f:%l:%c: %m"
- "%f:%l %m"
govet:
cmd: go vet -all .

0 comments on commit fbfb0d8

Please sign in to comment.