Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

newline-per-chained-call

- Require a newline after each call in a method chain

Fixable

This rule requires a newline after each call in a method chain or deep member access. Computed property accesses such as instance[something] are excluded.

What ESLint should do when it catches the rule break

Show a warning

Options

Specifies a number of allowed chains up depth.

Rule examples

You can check them out here.