Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

array-bracket-newline

- Enforce linebreaks after opening and before closing array brackets

Fixable

This rule enforces line breaks after opening and before closing array brackets.

What ESLint should do when it catches the rule break

Show a warning

Options

always

Rule examples

You can check them out here.