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

Respect Prettier’s use of .editorconfig #493

Merged
merged 2 commits into from Aug 10, 2020

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Jul 20, 2020

The prettier CLI by default reads certain options from .editorconfig if they are present. We should respect them too under "prettier": true. This is a simple matter of passing the appropriate flag to prettier.resolveConfig.

Use the Prettier options themselves in the cache key rather than the
Prettier config filename.  This should make no observable difference.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@sindresorhus sindresorhus merged commit f45ab80 into xojs:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants