Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-confusing-arrow

- Disallow arrow functions where they could be confused with comparisons

Fixable

Examples of incorrect code for this rule:.

What ESLint should do when it catches the rule break

Show a warning

Options

allowParens

Allows accepting parentheses.

Rule examples

You can check them out here.