Skip to content
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

💡: Consider moving .cspellcache to node_modules/.cache #5420

Open
1 task done
recallwei opened this issue Mar 29, 2024 · 2 comments
Open
1 task done

💡: Consider moving .cspellcache to node_modules/.cache #5420

recallwei opened this issue Mar 29, 2024 · 2 comments

Comments

@recallwei
Copy link

Problem

Now, I should add .cspellcache to .gitignore manually.
Also, this file should not be in the project root dir.

Solution

Like Prettier, Store in node_modules/.cache seems a great solution.

image

Alternatives

No response

Additional Context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Jason3S
Copy link
Collaborator

Jason3S commented Mar 29, 2024

@recallwei,

Thank you for the suggestion.

It is already possible to configure the cache location.

  • cli: --cache-location
  • config:
    "cache": {
        "cacheLocation": "./node_modules/.cache/cspell"
    },
    

@recallwei
Copy link
Author

@recallwei,

Thank you for the suggestion.

It is already possible to configure the cache location.

  • cli: --cache-location
  • config:
    "cache": {
        "cacheLocation": "./node_modules/.cache/cspell"
    },
    

This is useful for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants