Skip to content

Commit

Permalink
Edit changelog for prettier#13019
Browse files Browse the repository at this point in the history
  • Loading branch information
thorn0 committed Nov 22, 2022
1 parent 4738653 commit c83d850
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions changelog_unreleased/cli/13019.md
@@ -1,8 +1,6 @@
#### [HIGHLIGHT]Add `--cache-location` option (#13019 by @sosukesuzuki)
#### [HIGHLIGHT] Add `--cache-location` option (#13019 by @sosukesuzuki)

Path to the cache file location used by `--cache` flag. If you don't explicit `--cache-location`, Prettier saves cache file at `./node_modules/.cache/prettier/.prettier-cache`.

If a file path is passed, that file is used as the cache file.
By default, Prettier CLI saves the cache file for the `--cache` option at `./node_modules/.cache/prettier/.prettier-cache`. This can be overridden now:

```bash
prettier --write --cache --cache-location=my_cache_file src
Expand Down

0 comments on commit c83d850

Please sign in to comment.