Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dkn
· 9y ago · 0 comments
The option seems to put semicolons at the front of your code instead of at the end. Am I wrong? Why is this attractive?
Comments
[–]
exogen
9y ago
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...
[–]
yuchi
9y ago
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.