Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-new

- Disallow new operators outside of assignments or comparisons

This rule is aimed at maintaining consistency and convention by disallowing constructor calls using the new keyword that do not assign the resulting object to a variable.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.