Permalink
Browse files

lint: exclude vendor directory

  • Loading branch information...
1 parent 08050fc commit b2558a49ebf271a522294ea6b5259401551e08d5 @haya14busa committed Jan 7, 2017
Showing with 6 additions and 6 deletions.
  1. +6 −6 reviewdog.yml
View
@@ -2,24 +2,24 @@
runner:
golint:
- cmd: golint ./...
+ cmd: golint $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c: %m"
govet:
- cmd: go tool vet -all -shadowstrict .
+ cmd: go vet $(go list ./... | grep -v /vendor/)
unused:
- cmd: unused ./...
+ cmd: unused $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c: %m"
errcheck:
- cmd: errcheck -asserts -ignoretests -blank ./...
+ cmd: errcheck -asserts -ignoretests -blank $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c:%m"
gosimple:
- cmd: gosimple ./...
+ cmd: gosimple $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c: %m"
staticcheck:
- cmd: staticcheck ./...
+ cmd: staticcheck $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c: %m"

0 comments on commit b2558a4

Please sign in to comment.