Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-eval

- Disallow the use of eval()

This rule is aimed at preventing potentially dangerous, unnecessary, and slow code by disallowing the use of the eval() function. As such, it will warn whenever the eval() function is used.

What ESLint should do when it catches the rule break

Show a warning

Options

allowIndirect

Rule examples

You can check them out here.