4 ms·
I wouldn't call change of `arrowParens` to `always` as "incredibly sane". This is just a differt opinion about what is "better". I have different.
by mpawelski 7y ago
I wouldn't call change of `arrowParens` to `always` as "incredibly sane". This is just a differt opinion about what is "better". I have different.
- gkoberger 7y agoI like it, because it's consistent. If you remove or add a parameter to a function, you have parenthesis either way and don't have to think about it.
- jimmux 7y agoWe 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.