File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ Install [plugin](https://plugins.jetbrains.com/plugin/12496-go-linter).
1515Install the [ extension] ( https://marketplace.visualstudio.com/items?itemName=golang.Go ) .
1616
1717<details >
18- <summary style = { {color: ' #737380' }} >Recommended settings</summary >
19-
20- For those who installed golangci-lint manually:
18+ <summary style = { {color: ' #737380' }} >Recommended settings for those who installed golangci-lint manually</summary >
2119
2220``` json
2321"go.lintTool" : " golangci-lint" ,
@@ -37,10 +35,14 @@ For those who installed golangci-lint manually:
3735Using it in an editor without ` --fast-only ` can freeze your editor.
3836Golangci-lint automatically discovers ` .golangci.yml ` config for edited file: you don't need to configure it in VS Code settings.
3937
40- For those who want to install golangci-lint via extension:
41- - install ` golangci-lint-v2 ` via the ` Go: Install/Update Tools ` command after setting these configs.
38+ </details >
39+
40+ <details >
41+ <summary style = { {color: ' #737380' }} >Recommended settings for installed golangci-lint via extension</summary >
42+
43+ 1 . Install ` golangci-lint-v2 ` via the ` Go: Install/Update Tools ` command after setting these configs.
4244 This will enable golangci-lint v1 to co-exist with v2.
43- - and use the following settings:
45+ 2 . use the following settings:
4446
4547``` json
4648"go.lintTool" : " golangci-lint-v2" ,
You can’t perform that action at this time.
0 commit comments