Trying to delete non-existent .eslintcache on read-only file system #11945
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
core
Relates to ESLint's core APIs and features
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
Configuration
What did you do?
Wanted to try out ESLint 6.* by running it on a simple file within Docker.
However it's trying to delete a non-existent file on a read-only part of the system (root directory of the project). While build/node_modules and src/ do have both read/write permissions.
Pretty sure this would be the case for any other restricted permission file system, for me it just happened to be in Docker.
What actually happened?
It seems that it tries to delete the .eslintcache file, which does not exist, on a read-only file system.
What did you expect to happen?
For it to run the linter on the specified file. It should not bother trying to delete a file which does not exist.
The text was updated successfully, but these errors were encountered: