Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

max-classes-per-file

- Enforce a maximum number of classes per file

This rule enforces that each file may contain only a particular number of classes and no more.

What ESLint should do when it catches the rule break

Show a warning

Options

Specifies the maximum number of classes.

Rule examples

You can check them out here.