Skip to content

Commit ccb5bd0

Browse files
authored
docs: add cache directory information. (#1871)
1 parent bcdfb7f commit ccb5bd0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/src/docs/usage/configuration.mdx

+6
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,9 @@ than the default and have more strict settings:
5454
```yaml
5555
{ .GolangciYaml }
5656
```
57+
58+
## Cache
59+
60+
GolangCI-Lint stores its cache in the [default user cache directory](https://golang.org/pkg/os/#UserCacheDir).
61+
62+
You can override the default cache directory with the environment variable `GOLANGCI_LINT_CACHE`; the path must be absolute.

0 commit comments

Comments
 (0)