Skip to content

Commit

Permalink
Docs: Remove old note about caching, add a new one (fixes #10739) (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
zacnomore authored and ilyavolodin committed Oct 8, 2018
1 parent fe8111a commit 557a8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-guide/command-line-interface.md
Expand Up @@ -401,7 +401,7 @@ Store the info about processed files in order to only operate on the changed one

**Note:** If you run ESLint with `--cache` and then run ESLint without `--cache`, the `.eslintcache` file will be deleted. This is necessary because the results of the lint might change and make `.eslintcache` invalid. If you want to control when the cache file is deleted, then use `--cache-location` to specify an alternate location for the cache file.

**Note:**: As of now, only the results for successfully linted files are stored in the cache. Files which fail linting are not stored in the cache, so they will be linted every time.
**Note:**: Autofixed files are not placed in the cache. Subsequent linting that does not trigger an autofix will place it in the cache.

#### `--cache-file`

Expand Down

0 comments on commit 557a8bb

Please sign in to comment.