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
Use prettier for formatting? #39
Comments
If you want pretty formatting, the recommended approach is to use tide. By default, tide uses Is there anything else prettier could give us, that this doesn't already provide? |
To add to my former comment, I've never heard of prettier before now, and I honestly would like to keep the list of dependencies for Emacs typescript-development as short as possible. Right now a "full stack" requires the following:
Despite this list of dependencies, and to my great surprise, this seems to work pretty seamless, consistent and well across all platforms I've tested it (even on Windows!). I'd like to keep it like that, and adding more tools to the chain really has to do wonderful things to justify the risk :) |
I'm going to close this. As usual, if there's a substantial argument to be made in favor of the feature proposed here, we can reopen. |
I've tried prettier earlier today and immediately uninstalled it. I have a few reflections about "support for prettier" in the context of this mode. First, right now, it looks like if anyone wants support for it, they'll have to step up to the plate themselves and provide a quality PR (substantially tested) for it. I can see two ways "support for prettier" could potentially apply to this mode:
|
Now that prettier/prettier#13 supports typescript, would it make sense to offload formatting to that? It seems to be gaining traction as a defacto standard.
The text was updated successfully, but these errors were encountered: