-
Notifications
You must be signed in to change notification settings - Fork 4
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
Check-in a Prettier config file for editor extensions #211
Comments
The unofficial prettier extension for VS Code can read configuration from a field named |
Relevant issue: prettier/prettier#62 |
I'm okay with either approach. |
So should we add the "prettier" field for VS Code extension? I don't see the point. The files will be prettified when committed anyway. |
Problem is someone (like me) might have different default configurations in their editor. Now whenever they edit one of our files, the whole file gets reformatted and it's a little jarring. That's what I'm hoping to solve. |
@forabi Can't we get the CLI and editor extensions both to read from one of these config files? |
Sorry, I didn't realize that prettier supports a configuration file. I will look into that. |
Can we check-in a Prettier config file which will inform Prettier extensions in editors of how to format code?
If so, can we put it in our
common
repo and extend it from the other repos?The text was updated successfully, but these errors were encountered: