docs: add note about golangci-lint v2 integration in VS Code #5768
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
#5706 removed the link to vscode-go#3732 because it is resolved in the
v0.47.2
pre-release of the extension.However, the fix is not yet available for stable users — the next stable release (
v0.48.0
) is still pending.This causes confusion for stable users of the extension who still encounter the issue with golangci-lint v2 integration, as they need to search for a fix.
Changes
Added a short note under the VS Code section of the integrations page to inform users that they may need to switch to the pre-release version of the vscode-go extension if they want golangci-lint v2 integration to work properly.
Commits
docs: add note about golangci-lint v2 integration in Visual Studio Code
This commit adds a note to the docs about how to integrate
golangci-lint v2 with VS Code since the Go extension's stable
version does not support it yet.
For more information on this, you can refer to the linked
vscode-go#3732 issue comment.
Signed-off-by: lvlcn-t [email protected]
Tests done
With the new note, the integration site looks like this: