Skip to content

Commit

Permalink
docs: add cache directory information. (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Mar 25, 2021
1 parent bcdfb7f commit ccb5bd0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/docs/usage/configuration.mdx
Expand Up @@ -54,3 +54,9 @@ than the default and have more strict settings:
```yaml
{ .GolangciYaml }
```

## Cache

GolangCI-Lint stores its cache in the [default user cache directory](https://golang.org/pkg/os/#UserCacheDir).

You can override the default cache directory with the environment variable `GOLANGCI_LINT_CACHE`; the path must be absolute.

0 comments on commit ccb5bd0

Please sign in to comment.