Skip to content

Commit 918ecb7

Browse files
committed
docs: improve render
1 parent 5becc4d commit 918ecb7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/src/docs/welcome/integrations.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Install the [extension](https://marketplace.visualstudio.com/items?itemName=gola
1717
<details>
1818
<summary style={{color: '#737380'}}>Recommended settings</summary>
1919

20-
- For those who installed golangci-lint manually
20+
For those who installed golangci-lint manually:
2121

2222
```json
2323
"go.lintTool": "golangci-lint",
@@ -34,9 +34,13 @@ Install the [extension](https://marketplace.visualstudio.com/items?itemName=gola
3434
]
3535
```
3636

37-
- For those who want to install golangci-lint via extension
38-
- Install `golangci-lint-v2` via the `Go: Install/Update Tools` command after setting these configs
39-
- This will enable golangci-lint v1 to co-exist with v2
37+
Using it in an editor without `--fast-only` can freeze your editor.
38+
Golangci-lint automatically discovers `.golangci.yml` config for edited file: you don't need to configure it in VS Code settings.
39+
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.
42+
This will enable golangci-lint v1 to co-exist with v2.
43+
- and use the following settings:
4044

4145
```json
4246
"go.lintTool": "golangci-lint-v2",

0 commit comments

Comments
 (0)