3 ms·
I was waiting the --no-semi option to start using Prettier. Thanks to the team!
by ggregoire 10y ago
I was waiting the --no-semi option to start using Prettier. Thanks to the team!
- dkn 10y agoThe option seems to put semicolons at the front of your code instead of at the end. Am I wrong? Why is this attractive?
- yuchi 10y 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 10y 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 10y ago[deleted]