Skip to content

Commit b286865

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

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/src/docs/welcome/integrations.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ Install [plugin](https://plugins.jetbrains.com/plugin/12496-go-linter).
1515
Install 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:
3735
Using it in an editor without `--fast-only` can freeze your editor.
3836
Golangci-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",

0 commit comments

Comments
 (0)