docs: add cache directory information. (#1871)
This commit is contained in:
parent
bcdfb7f6b1
commit
ccb5bd03d1
@ -54,3 +54,9 @@ than the default and have more strict settings:
|
|||||||
```yaml
|
```yaml
|
||||||
{ .GolangciYaml }
|
{ .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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user