Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

one-var

- Enforce variables to be declared either together or separately in functions

Fixable

This rule enforces variables to be declared either together or separately per function ( for var) or block (for let and const) scope.

What ESLint should do when it catches the rule break

Show a warning

Options

always

Rule examples

You can check them out here.