Sure. I'll do that. On Friday, March 4, 2016 at 5:43:44 PM UTC+1, Nicholas Zakas wrote: > > Yeah, that seems like an error. Can you open an issue in GitHub? > > -N > > On Fri, Mar 4, 2016, 3:18 AM Daniel Norman <[email protected] <javascript:>> > wrote: > >> I'm having difficulty understand the no-confusing-arrow rule. >> >> The example of the rule from the rule doc page is: >> >> // The intent is not clearvar x = a => 1 ? 2 : 3// Did the author mean >> thisvar x = function (a) { return a >= 1 ? 2 : 3 }// Or thisvar x = a <= 1 ? >> 2 : 3 >> >> >> >> My understanding of the first example is that it would be interpreted as >> >> var x = function x(a) { >> return 1 ? 2 : 3; >> }; >> >> >> Which isn't the same as the two possible interpretations given here. >> >> >> Am I missing something here? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "ESLint" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> >
-- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
