Hacker News new | ask | show | jobs
by dkn 3359 days ago
The option seems to put semicolons at the front of your code instead of at the end. Am I wrong? Why is this attractive?
2 comments

They specifically demonstrated a case where that's necessary [1], it doesn't always do that.

[1] https://github.com/feross/standard/blob/master/RULES.md#semi...

The example you found on the blog post was there to show how prettier handles conflicting cases. It will print them only in those cases.