-
Notifications
You must be signed in to change notification settings - Fork 12k
Add a formatter/beautifier command #143
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
Comments
Yeah- clang-format is what we use on angular/angular. Team member @mprobst occasionally makes contributions to it. |
I think clang-format is the leading brand in JS formatting at this point ;-) The one drawback is that it doesn't handle missing semicolons well, and support for that would be tricky to add (it uses the semicolons as a signal to split statements and re-sync when formatting syntactically incorrect code). If there are specific improvements or issues, I'm happy to take a look. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Would be really useful to have a cli command that would format/beautify app code. @jelbourn recommends clang-format.
The text was updated successfully, but these errors were encountered: