From 734f50d8fcb4df4cf611e774123b835f9fc5666b Mon Sep 17 00:00:00 2001 From: Joseph Richey Date: Sun, 11 Feb 2018 20:39:12 -0800 Subject: golint: Use fork that respects vendor directory Ideally, we would just use "golint ./..." to check all our our source files for lint error. However, this does not work because it will include all packages in the vendor directory. The pull request at: https://github.com/golang/lint/pull/325 fixes this issue, so we will use it until the PR has been merged. --- Gopkg.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Gopkg.toml') diff --git a/Gopkg.toml b/Gopkg.toml index 29da3c7..8336862 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -7,6 +7,11 @@ required = [ "github.com/wadey/gocovmerge" ] +[[constraint]] + name = "github.com/golang/lint" + branch = "lukyth/feature/ignore-vendor" + source = "github.com/lukyth/lint" + # Source dependancies [[constraint]] name = "github.com/golang/protobuf" -- cgit v1.2.3