Skip to content

Commit e09ffb8

Browse files
committed
chore: move cache paragraph
1 parent 4d80a26 commit e09ffb8

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/content/docs/configuration/_index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,3 @@ Slice options (e.g. list of enabled/disabled linters) are combined from the comm
1414
{{< card link="/docs/configuration/cli" title="Command Line" icon="terminal" >}}
1515
{{< card link="/docs/configuration/file" title="Configuration File" icon="adjustments" >}}
1616
{{< /cards >}}
17-
18-
19-
## Cache
20-
21-
Golangci-lint stores its cache in the subdirectory `golangci-lint` inside the [default user cache directory](https://pkg.go.dev/os#UserCacheDir).
22-
23-
You can override the default cache directory with the environment variable `GOLANGCI_LINT_CACHE`; the path must be absolute.

docs/content/docs/configuration/cli.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ golangci-lint writes runtime profiling data in the format expected by the [pprof
1616
When the `--trace-path` argument is specified, `golangci-lint` writes runtime tracing data in the format expected by
1717
the `go tool trace` command and visualization tool.
1818

19+
### Cache
20+
21+
Golangci-lint stores its cache in the subdirectory `golangci-lint` inside the [default user cache directory](https://pkg.go.dev/os#UserCacheDir).
22+
23+
You can override the default cache directory with the environment variable `GOLANGCI_LINT_CACHE`; the path must be absolute.
24+
1925
## fmt
2026

2127
```sh

0 commit comments

Comments
 (0)