Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-var

- Require let or const instead of var

Fixable

This rule is aimed at discouraging the use of var and encouraging the use of const or let instead.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.