Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-async-promise-executor

- Disallow using an async function as a Promise executor

This rule aims to disallow async Promise executor functions.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.