|
6 | 6 | {
|
7 | 7 | "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
|
8 | 8 | "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
9 |
| - "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
10 |
| - "disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
| 9 | + "requireSpaceAfterBinaryOperators": ["?", ":", "+", "-", "/", "*", "%", "==", "===", "!=", "!==", ">", ">=", "<", "<=", "&&", "||"], |
| 10 | + "requireSpaceBeforeBinaryOperators": ["?", ":", "+", "-", "/", "*", "%", "==", "===", "!=", "!==", ">", ">=", "<", "<=", "&&", "||"], |
11 | 11 | "disallowImplicitTypeConversion": ["string"],
|
12 | 12 | "disallowMultipleLineBreaks": true,
|
13 | 13 | "disallowKeywordsOnNewLine": ["else"],
|
|
0 commit comments