From 557a8bb4e72b61d0024e50cf6bde14d4109fe525 Mon Sep 17 00:00:00 2001 From: Zac Date: Mon, 8 Oct 2018 10:11:50 -0400 Subject: [PATCH] Docs: Remove old note about caching, add a new one (fixes #10739) (#10913) --- docs/user-guide/command-line-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/command-line-interface.md b/docs/user-guide/command-line-interface.md index 7de5a50a1e2..62ecd3c2021 100644 --- a/docs/user-guide/command-line-interface.md +++ b/docs/user-guide/command-line-interface.md @@ -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`