Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

space-before-blocks

- Enforce consistent spacing before blocks

Fixable

This rule will enforce consistency of spacing before blocks. It is only applied on blocks that don’t begin on a new line.

What ESLint should do when it catches the rule break

Show a warning

Options

always

Rule examples

You can check them out here.