New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Request: (Consider moving .eslintcache to node_modules/.cache) #18245
Comments
I'm 👍 to this. However, it's a breaking change, so we cannot accept it in v9(it's in rc). I think we can change it in v10. Would like to hear from other team members. @eslint/eslint-team |
I don't think there's a good reason to change the location of the cache file. Some users actually do check in |
🤔 is that... advisable? My impression was that the slice of users who'd want to do such a thing is pretty small. This is all anecdotal and I'd want to know if I'm wrong anywhere:
I believe the ecosystem norm is to put artifacts in |
Folks do this to speed up their CI. There's even an RFC aimed at making this easier: |
Most of the projects do not use cache and CI. Is it possible to add some custom config to specify the location of the cache file? |
@recallwei I don't think you can make any assertion about what most projects do, and even if you could, that doesn't mean we don't consider those use cases. There is already a |
So, if the directory where |
ESLint version
v8.0.0
What problem do you want to solve?
Now, I should add .eslintcache to .gitignore manually.
Also, this file should not be in the project root dir.
What do you think is the correct solution?
Like Prettier, Store in node_modules/.cache seems a great solution.
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: