|
| 1 | +{ |
| 2 | + "requireCurlyBraces": [ |
| 3 | + "if", |
| 4 | + "else", |
| 5 | + "for", |
| 6 | + "while", |
| 7 | + "do", |
| 8 | + "try", |
| 9 | + "catch" |
| 10 | + ], |
| 11 | + "requireSpaceAfterKeywords": [ |
| 12 | + "if", |
| 13 | + "else", |
| 14 | + "for", |
| 15 | + "while", |
| 16 | + "do", |
| 17 | + "switch", |
| 18 | + "return", |
| 19 | + "try", |
| 20 | + "catch", |
| 21 | + "function" |
| 22 | + ], |
| 23 | + "requireSpaceBeforeBlockStatements": true, |
| 24 | + "requireParenthesesAroundIIFE": true, |
| 25 | + "requireSpacesInConditionalExpression": true, |
| 26 | + "disallowSpacesInNamedFunctionExpression": { |
| 27 | + "beforeOpeningRoundBrace": true |
| 28 | + }, |
| 29 | + "disallowSpacesInFunctionDeclaration": { |
| 30 | + "beforeOpeningRoundBrace": true |
| 31 | + }, |
| 32 | + "requireMultipleVarDecl": true, |
| 33 | + "requireBlocksOnNewline": 1, |
| 34 | + "disallowEmptyBlocks": true, |
| 35 | + "disallowSpacesInsideParentheses": true, |
| 36 | + "requireSpacesInsideObjectBrackets": "all", |
| 37 | + "disallowSpacesInsideArrayBrackets": true, |
| 38 | + "disallowQuotedKeysInObjects": true, |
| 39 | + "disallowDanglingUnderscores": true, |
| 40 | + "disallowSpaceAfterObjectKeys": true, |
| 41 | + "requireCommaBeforeLineBreak": true, |
| 42 | + "disallowSpaceAfterPrefixUnaryOperators": [ |
| 43 | + "++", |
| 44 | + "--", |
| 45 | + "+", |
| 46 | + "-", |
| 47 | + "~", |
| 48 | + "!" |
| 49 | + ], |
| 50 | + "disallowSpaceBeforePostfixUnaryOperators": [ |
| 51 | + "++", |
| 52 | + "--" |
| 53 | + ], |
| 54 | + "disallowSpaceBeforeBinaryOperators": [ |
| 55 | + "," |
| 56 | + ], |
| 57 | + "requireSpaceBeforeBinaryOperators": [ |
| 58 | + "=", |
| 59 | + "+", |
| 60 | + "-", |
| 61 | + "/", |
| 62 | + "*", |
| 63 | + "==", |
| 64 | + "===", |
| 65 | + "!=", |
| 66 | + "!==", |
| 67 | + ">", |
| 68 | + ">=", |
| 69 | + "<", |
| 70 | + "<=" |
| 71 | + ], |
| 72 | + "requireSpaceAfterBinaryOperators": [ |
| 73 | + "=", |
| 74 | + "+", |
| 75 | + "-", |
| 76 | + "/", |
| 77 | + "*", |
| 78 | + "==", |
| 79 | + "===", |
| 80 | + "!=", |
| 81 | + "!==", |
| 82 | + ">", |
| 83 | + ">=", |
| 84 | + "<", |
| 85 | + "<=" |
| 86 | + ], |
| 87 | + "requireCamelCaseOrUpperCaseIdentifiers": true, |
| 88 | + "disallowKeywords": [ "with" ], |
| 89 | + "disallowMultipleLineBreaks": true, |
| 90 | + "validateLineBreaks": "LF", |
| 91 | + "validateQuoteMarks": "'", |
| 92 | + "validateIndentation": "\t", |
| 93 | + "disallowMixedSpacesAndTabs": true, |
| 94 | + "disallowTrailingWhitespace": true, |
| 95 | + "disallowTrailingComma": true, |
| 96 | + "disallowKeywordsOnNewLine": ["else"], |
| 97 | + "requireLineFeedAtFileEnd": true, |
| 98 | + "requireCapitalizedConstructors": true, |
| 99 | + "requireDotNotation": true, |
| 100 | + "disallowYodaConditions": true |
| 101 | +} |
0 commit comments