Re:Prettier 2.0 – Opinionated JavaScript formatter
by jimmux on Sunday March 22, 2020 @10:15PM
(#22660666)
We had to change the old default because of TypeScript complaining if the param has a type annotation and no parens. So it's more consistent with TypeScript now as well. I had to argue for this exception to be added to our config, so it's a nice bit of validation that Prettier has come around.
[ Parent
| on HN ]
There are no comments on this comment yet.