Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

max-lines

- Enforce a maximum number of lines per file

This rule enforces a maximum number of lines per file, in order to aid in maintainability and reduce complexity.

What ESLint should do when it catches the rule break

Show a warning

Options

skipBlankLines

Ignores lines made up purely of whitespace.

skipComments

Ignores lines containing just comments.

Specifies a maximum number of lines in a file.

Rule examples

You can check them out here.