eslint-plugin-prettier
eslint-plugin-prettier copied to clipboard
Question: How do I use prettier's --cache with eslint-plugin-prettier?
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.
I have no idea how to support it, feel free to share your thoughts!
cc @fisker
The cache feature currently only available in CLI, no api for it.
Bummer -- feels like it would speed ESLint up a bunch, since Prettier is dominating the perf timings.