Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

array-callback-return

- Enforce return statements in callbacks of array methods

This rule finds callback functions of the following methods, then checks usage of return statement.

What ESLint should do when it catches the rule break

Show a warning

Options

allowImplicit

Allows implicitly returning undefined with a return statement containing no expression.

Rule examples

You can check them out here.