Improve cache location
See original GitHub issueThe version of ESLint you are using.
v5.16.0
The problem you want to solve.
Many tools have persistent cache will be great store them in one location. Example many webpack plugins (and not only) store cache in node_modules/.cache
.
Props:
- One location for caches.
- No need adding
.eslintcache
to.gitignore
.
Your take on the correct solution to problem.
Using https://github.com/avajs/find-cache-dir
Are you willing to submit a pull request to implement this change?
Yes
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Adjust the local cache for your projects - Microsoft Support
In the Cache location box, type the path to the location that you want to use for the cache. Tip: You can also...
Read more >Cache Directory Location - Informatica Documentation
If all Integration Service processes in a grid have slow access to the cache files, set up a separate, local cache file directory...
Read more >Managing your local display cache—Help | ArcGIS for Desktop
The local cache on your machine is always stored in a folder called MapCacheV1, and like all temporary data, this folder is stored...
Read more >Improving Performance in a Basic Deployment
Optimizing Cache for Search Performance ... For improved search performance, cache as much directory data as possible in memory. By preventing the directory...
Read more >Cache Memory in Computer Organization - GeeksforGeeks
If the processor finds that the memory location is in the cache, a cache ... We can improve Cache performance using higher cache...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kaicataldo
Example in code?
stylelint
i opened issue https://github.com/stylelint/stylelint/issues/4045 tooAnd many other tools https://www.npmjs.com/browse/depended/find-cache-dir
Unfortunately, it looks like there wasn’t enough interest from the team or community to implement this change. While we wish we’d be able to accommodate everyone’s requests, we do need to prioritize. We’ve found that issues failing to reach accepted status after 21 days tend to never be accepted, and as such, we close those issues. This doesn’t mean the idea isn’t interesting or useful, just that it’s not something the team can commit to.
Thanks for contributing to ESLint and we appreciate your understanding.