Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

object-property-newline

- Enforce placing object properties on separate lines

Fixable

This rule makes it possible to ensure, as some style guides require, that property specifications appear on separate lines for better readability.

What ESLint should do when it catches the rule break

Show a warning

Options

allowAllPropertiesOnSameLine

Allows all property specifications on the same line.

Rule examples

You can check them out here.