Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

nonblock-statement-body-position

- Enforce the location of single-line statements

Fixable

This rule aims to enforce a consistent location for single-line statements.

What ESLint should do when it catches the rule break

Show a warning

Options

beside

Rule examples

You can check them out here.