Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-useless-constructor

- Disallow unnecessary constructors

This rule flags class constructors that can be safely removed without changing how the class works.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.