-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Please add a way to format sources without semicolons #264
Comments
I agree that semicolons should be optional. Your tool is very nice, but currently we can't use it cos our style guides forbid semicolons. |
+1 Optional semicolons are a must for me. Your tool formats code really nicely otherwise. |
This issue is a duplicate of #12. We won't be actively working on this feature, but if someone came up with a reasonable prototype/solution, we might work on adding this into Prettier. |
Yes, please see the resolution at #12. You can freely code without semicolons but we will add them for consistently. It's not a simple matter of removing them because there are cases where we need to specially detect when to add them and it makes formatting harder. This is an opinion that for now we are not going to change, much like |
for me it's not as much about writing the semicolons as reading them, but i'm one of those guys that liked coffeescript too, so take that fwiw ;) |
Semicolons are excess in JavaScipt sources
The text was updated successfully, but these errors were encountered: