Skip to content

Commit

Permalink
Docs: remove outdated note about caching only valid files (fixes esli…
Browse files Browse the repository at this point in the history
  • Loading branch information
ajafff committed Aug 6, 2018
1 parent 137140f commit 1a081be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/user-guide/command-line-interface.md
Expand Up @@ -402,8 +402,6 @@ 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.

#### `--cache-file`

Path to the cache file. If none specified `.eslintcache` will be used. The file will be created in the directory where the `eslint` command is executed. **Deprecated**: Use `--cache-location` instead.
Expand Down

0 comments on commit 1a081be

Please sign in to comment.