Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-underscore-dangle

- Disallow dangling underscores in identifiers

This rule disallows dangling underscores in identifiers.

What ESLint should do when it catches the rule break

Show a warning

Options

allowAfterThis

Allows dangling underscores in members of the this object.

allowAfterSuper

Allows dangling underscores in members of the super object.

enforceInMethodNames

Disallows dangling underscores in method names.

Rule examples

You can check them out here.