-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
staticcheck: Add option for passing folders that should be avoided #822
Comments
Might be related to #429 |
That's a relatively simple POSIX Shell script though: $ go list ./... | grep -F -e example.com/bad/pkg -v | xargs staticcheck |
Thanks @ainar-g. That is quite a good workaround until this is solved in a better way :) |
You could also place a |
It would be great if you could pass a folder (or folders) where you don't want
staticcheck
to check the .go files. Useful if you, for example, are vendoing a different go module outside of the normal vendor folder.The text was updated successfully, but these errors were encountered: