Add CLI cache settings to config file #13581
paulshryock
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The CLI cache settings are really nice.
I'd love to be able to configure these from a Prettier configuration file instead of from the CLI.
--cache
--cache-location
--cache-strategy
Like this:
This way the caching strategy can be set dynamically for CI vs local, and my
package.json
can be a lot cleaner:From this:
To this:
I wanted to get some thoughts and opinions from the maintainers and community first. I would be happy to write up an issue, and possibly a PR, if there is a positive consensus about this.
Beta Was this translation helpful? Give feedback.
All reactions