Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

max-nested-callbacks

- Enforce a maximum depth that callbacks can be nested

This rule enforces a maximum depth that callbacks can be nested to increase code clarity.

What ESLint should do when it catches the rule break

Show a warning

Options

Specifies a maximum depth that callbacks can be nested.

Rule examples

You can check them out here.