Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

one-var-declaration-per-line

- Require or disallow newlines around variable declarations

Fixable

This rule enforces a consistent newlines around variable declarations. This rule ignores variable declarations inside for loop conditionals.

What ESLint should do when it catches the rule break

Show a warning

Options

initializations

Rule examples

You can check them out here.