Closed tommedema closed 8 years ago
Hey Tom, thank you for report! It looks related to this, it enabled no-confusing-arrow
, and it released by eslint-config-airbnb@6.2.0
.
I'll fix these with:
(count, todo) => (todo.completed ? count + 1 : count)
Since
npm run lint
is one of the commands of this boilerplate, it would be a good idea to deal with all jslint errors. I'm having issues resolving this:The relevant code is:
It seems as though jslint doesn't like arrow functions with a conditional expression. I've tried other ways, such as a traditional function, but these resulted in other jslint errors.