How to delete .eslintcache file in react?

It is part of the CRA bundle. I’d recommend just adding it to the .gitignore file if it isn’t in there already.

From the ESLint docs:

Store the info about processed files in order to only operate on the changed ones. The cache is stored in .eslintcache by default. Enabling this option can dramatically improve ESLint’s running time by ensuring that only changed files are linted.

Leave a Comment