disallowSpaceBeforeBinaryOperators

Requires sticking binary operators to the left.

Types: Array or Boolean

Values: Array of quoted operators or true to disallow space before all possible binary operators

Example

"disallowSpaceBeforeBinaryOperators": [
    "=",
    ",",
    "+",
    "-",
    "/",
    "*",
    "==",
    "===",
    "!=",
    "!=="
    // etc
]
Valid
x+ y;
Invalid
x + y;
Rule source
Test source