-
Notifications
You must be signed in to change notification settings - Fork 645
Go lint started to pick up vendor folder. #1119
Comments
same issues +1 |
Based on the logs it looks like you have As a workaround, you can set I will look into skipping vendor folders when linting workspace |
@ramya-rao-a What's puzzling is that it's been working like this ever since I've switched to vscode and discovered this wonderful plugin. I've been using glide to handle dependencies and vscode-go been working fine with |
@nvma That's puzzling to me too. Because this change to use |
@ramya-rao-a is it possible that I didn't update the gotools and vscode-go extension since early June while sticking to the latest versions of vscode every time it was released? |
that can be the case |
I see, thanks for your time, @ramya-rao-a I will have to stick to a half-measure of scoping linter to a package level keeping the hope that optional ignoreDirectory could be introduced to linting options in the near future. Cheers and thank you for your work on this stellar extension, I didn't realise I relied on it so much :) |
When you say |
I have pushed the fix to master. Until I release an update, here is what you can do
|
Just a heads up. It looks like you added a PR to prevent workspace symbols from picking up |
@atomi You need to set |
The fix for linting picking up vendor folder is now out in the latest update to the Go extension (0.6.64) |
@ramya-rao-a this issue will occur after debugging |
@douglarek Please log a new issue with clear repro steps. |
I can't pinpoint what is the reason for this because I didn't update vscode or gotools since the last time I've worked (this morning). And now my
PROBLEMS
tab is filled with thousands upon thousands of warnings from vendor folder.Would you be so kind to direct me how I could go about solving this issue? Thanks.
The text was updated successfully, but these errors were encountered: