3 ms·
I wish it were more opinionated. It treats new lines as significant in a lot of its formatting
by paulddraper 3y ago
I wish it were more opinionated.
It treats new lines as significant in a lot of its formatting
- vbezhenar 3y agoI also don't understand their stand about curly braces. They don't add or remove them. I think they should make it uniform.
- MalseMattie 3y agoThere is a plugin for that: https://github.com/JoshuaKGoldberg/prettier-plugin-curly https://github.com/JoshuaKGoldberg/prettier-plugin-curly
- paulddraper 3y agoThat's bizarre. They add/remove parens...but not curly braces... How do you even justify that...
- bakkoting 3y agoCurly braces are reflected in the AST, parens are not.