|
1 | 1 | { |
2 | 2 | "disallowEmptyBlocks": true, |
3 | 3 | "disallowKeywords": ["with"], |
4 | | - "disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
5 | 4 | "disallowMixedSpacesAndTabs": true, |
6 | 5 | "disallowMultipleLineStrings": true, |
7 | 6 | "disallowMultipleVarDecl": true, |
8 | 7 | "disallowQuotedKeysInObjects": "allButReserved", |
9 | | - "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
| 8 | + "disallowSpaceAfterPrefixUnaryOperators": ["!"], |
| 9 | + "disallowSpaceBeforeBinaryOperators": [","], |
10 | 10 | "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
11 | 11 | "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
| 12 | + "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
12 | 13 | "disallowSpacesInsideArrayBrackets": true, |
| 14 | + "disallowTrailingComma": true, |
13 | 15 | "disallowSpacesInsideParentheses": true, |
14 | 16 | "disallowTrailingWhitespace": true, |
15 | 17 | "requireCamelCaseOrUpperCaseIdentifiers": true, |
16 | 18 | "requireCapitalizedConstructors": true, |
17 | 19 | "requireCommaBeforeLineBreak": true, |
18 | 20 | "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], |
19 | 21 | "requireDotNotation": true, |
20 | | - "requireLeftStickedOperators": [","], |
21 | 22 | "requireLineFeedAtFileEnd": true, |
22 | 23 | "requireParenthesesAroundIIFE": true, |
23 | | - "requireRightStickedOperators": ["!"], |
24 | 24 | "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
25 | 25 | "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
26 | 26 | "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
27 | | - "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
| 27 | + "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, |
| 28 | + "requireSpacesInConditionalExpression": true, |
28 | 29 | "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
29 | 30 | "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
30 | 31 | "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
0 commit comments