Requires operators to appear before line breaks and not after.
Types: Array
or Boolean
Values: Array of quoted operators or true
to require all possible binary operators to appear before line breaks
JSHint: laxbreak
"requireOperatorBeforeLineBreak": [
"?",
"=",
"+",
"-",
"/",
"*",
"==",
"===",
"!=",
"!==",
">",
">=",
"<",
"<="
]
x = y ? 1 : 2;
x = y ?
1 : 2;
x = y
? 1 : 2;