prettier / prettier/eslint-plugin-prettier

Question: How do I use prettier's --cache with eslint-plugin-prettier?

Open
#730 3 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.