Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude vendor/ from linters #17879

Closed
mcandre opened this issue Nov 10, 2016 · 1 comment
Closed

Exclude vendor/ from linters #17879

mcandre opened this issue Nov 10, 2016 · 1 comment

Comments

@mcandre
Copy link

mcandre commented Nov 10, 2016

Could the go vet and gofmt tools please make it easier for users to skip third-party (vendored) code?

For now, I'm wrapping go vet and gofmt with find . -name vendor -prune -o -name '*.go' -exec go vet -v {} \; and find . -name vendor -prune -o -name '*.go' -exec gofmt -s -w {} \;, respectively.

@bradfitz
Copy link
Contributor

Dup of #14417

I'm going to close this because I haven't seen anything to indicate there's been a policy change since that time.

@golang golang locked and limited conversation to collaborators Nov 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants