Closed doasync closed 5 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!
) and we'll verify. Thanks.
+1
But the Google JS style guide doesn't make the same recommendation as the Airbnb JS style guide. This is what the Google JS style guide says:
Tip: It is a good practice to use parentheses even for single-argument arrows, since the code may still parse reasonably (but incorrectly) if the parentheses are forgotten when an additional argument is added.
For example, this would be valid according to the as-needed
rule, but Google style recommends against it:
doSomething(a, b, c, d => e => f);