Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vbezhenar
· 2y ago · 0 comments
I also don't understand their stand about curly braces. They don't add or remove them. I think they should make it uniform.
Comments
[–]
MalseMattie
2y ago
There is a plugin for that:
https://github.com/JoshuaKGoldberg/prettier-plugin-curly
[–]
paulddraper
2y ago
That's bizarre. They add/remove parens...but not curly braces...
How do you even justify that...
[–]
bakkoting
2y ago
Curly braces are reflected in the AST, parens are not.