3 ms·
I also don't understand their stand about curly braces. They don't add or remove them. I think they should make it uniform.
by vbezhenar 3y ago
I 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.