Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

block-spacing

- Disallow or enforce spaces inside of blocks after opening block and before closing block

Fixable

This rule enforces consistent spacing inside an open block token and the next token on the same line. This rule also enforces consistent spacing inside a close block token and previous token on the same line.

What ESLint should do when it catches the rule break

Show a warning

Options

always

Rule examples

You can check them out here.