How do we make go vet
, gofmt
, and other Go linter tools ignore third-party files in vendor/
, preferably with an accurate, cumulative exit status?
For example, would find . -name vendor -prune -o -name '*.go' -exec gofmt -s -w {} \;
present a meaningful exit status?