4 ms·
The option seems to put semicolons at the front of your code instead of at the end. Am I wrong? Why is this attractive?
by dkn 9y 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?
- yuchi 9y agoThe example you found on the blog post was there to show how prettier handles conflicting cases. It will print them only in those cases.
- exogen 9y agoThey 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#semicolons https://github.com/feross/standard/blob/master/RULES.md#semi...
- deleted 9y ago[deleted]