Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-div-regex

- Disallow division operators explicitly at the beginning of regular expressions

This is used to disambiguate the division operator to not confuse users.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.