Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-whitespace-before-property

- Disallow whitespace before properties

Fixable

This rule disallows whitespace around the dot or before the opening bracket before properties of objects if they are on the same line. This rule allows whitespace when the object and property are on separate lines, as it is common to add newlines to longer chains of properties:.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.