Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-multi-spaces

- Disallow multiple spaces

Fixable

This rule aims to disallow multiple whitespace around logical expressions, conditional expressions, declarations, array elements, object properties, sequences and function parameters.

What ESLint should do when it catches the rule break

Show a warning

Options

ignoreEOLComments

Ignores multiple spaces before comments that occur at the end of lines.

Rule examples

You can check them out here.