Closed SimenB closed 8 years ago
Most chained methods on Array.prototype expects a return statement, otherwise it's probably an error, or at least misuse of the function.
Array.prototype
return
http://eslint.org/docs/rules/array-callback-return
This makes so much sense, eslint your friend to the rescue ❤️
Most chained methods on
Array.prototype
expects areturn
statement, otherwise it's probably an error, or at least misuse of the function.http://eslint.org/docs/rules/array-callback-return