Closed Dan503 closed 5 years ago
I'm not sure if this rule exists already or not.
I find it hard to read arrow functions that return arrow functions like this:
var x = (a,b) => () => a + b;
I think having a more explicit return is easier to read.
var x = (a,b) => { return () => a + b };
Yes that rule exists: "return" rule, "chained" mode. :)
I'm not sure if this rule exists already or not.
I find it hard to read arrow functions that return arrow functions like this:
I think having a more explicit return is easier to read.