handle-callback-err

- Require error handling in callbacks

This rule expects that when you’re using the callback pattern in Node.js you’ll handle the error.

What ESLint should do when it catches the rule break

Show a warning

Options

Specifies the name of the error parameter.

Rule examples

You can check them out here.