Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-multiple-empty-lines

- Disallow multiple empty lines

Fixable

This rule aims to reduce the scrolling required when reading through your code. It will warn when the maximum amount of empty lines has been exceeded.

What ESLint should do when it catches the rule break

Show a warning

Options

Specifies a maximum number of consecutive empty lines.

Specifies a maximum number of consecutive empty lines at the end of files.

Specifies a maximum number of consecutive empty lines at the beginning of files.

Rule examples

You can check them out here.