Rule: binary-expression-operand-order

In a binary expression, a literal should always be on the right-hand side if possible. For example, prefer ‘x + 1’ over ‘1 + x’.

Config

Not configurable.

Examples
"binary-expression-operand-order": true
Schema
null