Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-mixed-operators

- Disallow mixed binary operators

This rule checks BinaryExpression and LogicalExpression.

What ESLint should do when it catches the rule break

Show a warning

Options

allowSamePrecedence

Allows mixed operators if they are of equal precedence.

Rule examples

You can check them out here.