Permalink
Browse files

Merge pull request #67 from haya14busa/exclude-vendor

lint: exclude vendor directory
  • Loading branch information...
2 parents 08050fc + b2558a4 commit d6e617f601b7e9b1e275dfe2c2821c8e6cf3f53c @haya14busa committed on GitHub 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 d6e617f

Please sign in to comment.