Which should we prefer?
const func = param => value;
or
const func = ( param ) => value;
I personally prefer the first style, but either way I think we should codify this into a lint rule.
My vote would be toward the second, for consistency and ease of maintenance when adding additional arguments.
I second aduth's statement, even though I usually use the top style.
My vote is for the first with @nylen, but can I also vote to allow either?
How about we just use Reason/OCaml? No more parentheses!
Most helpful comment
My vote would be toward the second, for consistency and ease of maintenance when adding additional arguments.