prettier / prettier/eslint-plugin-prettier
Question: How do I use prettier's --cache with eslint-plugin-prettier?
Open
Nobody has claimed this yet.
question
upstream
- Dominant language
- JavaScript
- Stars
- 3.7k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
Like ESLint, Prettier supports a --cache arg for faster incremental formatting: https://prettier.io/docs/cli#--cache. I couldn't figure out how to set this arg when using eslint-plugin-prettier. I bet this is supported, but I can't figure it out. Would love a pointer.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Prettier CLI documentation and the eslint-plugin-prettier usage and configuration documentation. Determine whether Prettier's --cache option can be used through the plugin; done means providing a documented pointer or clarifying that the option is not supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100