From fbfb0d821674028330e2888163484e1ffcb98142 Mon Sep 17 00:00:00 2001 From: Christian Kreuzberger Date: Tue, 31 Mar 2020 15:14:52 +0200 Subject: [PATCH] Fix reviewdog gofmt action, add govet --- .reviewdog.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.reviewdog.yml b/.reviewdog.yml index 6f9d3ae..111e075 100644 --- a/.reviewdog.yml +++ b/.reviewdog.yml @@ -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" \ No newline at end of file + - "%f:%l %m" + govet: + cmd: go vet -all .