Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

getter-return

- Enforce return statements in getters

Recommended

This rule enforces that a return statement is present in property getters.

What ESLint should do when it catches the rule break

Show a warning

Options

allowImplicit

Allows implicitly returning undefined with a return statement.

Rule examples

You can check them out here.