| { |
| "requireCurlyBraces": [ |
| "if", |
| "else", |
| "for", |
| "while", |
| "do", |
| "try", |
| "catch" |
| ], |
| "requireSpaceAfterKeywords": [ |
| "if", |
| "else", |
| "for", |
| "while", |
| "do", |
| "switch", |
| "return", |
| "try", |
| "catch" |
| ], |
| "requireSpaceBeforeBlockStatements": true, |
| "requireSpacesInConditionalExpression": { |
| "afterTest": true, |
| "beforeConsequent": true, |
| "afterConsequent": true, |
| "beforeAlternate": true |
| }, |
| "requireSpacesInFunctionExpression": { |
| "beforeOpeningRoundBrace": true, |
| "beforeOpeningCurlyBrace": true |
| }, |
| "requireSpacesInAnonymousFunctionExpression": { |
| "beforeOpeningRoundBrace": true, |
| "beforeOpeningCurlyBrace": true |
| }, |
| "requireSpacesInNamedFunctionExpression": { |
| "beforeOpeningRoundBrace": true, |
| "beforeOpeningCurlyBrace": true |
| }, |
| "requireSpacesInFunctionDeclaration": { |
| "beforeOpeningRoundBrace": true, |
| "beforeOpeningCurlyBrace": true |
| }, |
| "requireMultipleVarDecl": true, |
| "requireBlocksOnNewline": 1, |
| "disallowEmptyBlocks": true, |
| "disallowSpacesInsideObjectBrackets": true, |
| "disallowSpacesInsideArrayBrackets": true, |
| "disallowSpacesInsideParentheses": true, |
| "disallowSpaceAfterObjectKeys": true, |
| "requireCommaBeforeLineBreak": true, |
| "requireOperatorBeforeLineBreak": [ |
| "?", |
| "=", |
| "+", |
| "-", |
| "/", |
| "*", |
| "==", |
| "===", |
| "!=", |
| "!==", |
| ">", |
| ">=", |
| "<", |
| "<=" |
| ], |
| "requireSpaceBeforeBinaryOperators": [ |
| "?", |
| "=", |
| "+", |
| "-", |
| "/", |
| "*", |
| "==", |
| "===", |
| "!=", |
| "!==", |
| ">", |
| ">=", |
| "<", |
| "<=" |
| ], |
| "requireSpaceAfterBinaryOperators": [ |
| "?", |
| "=", |
| "+", |
| "/", |
| "*", |
| ":", |
| "==", |
| "===", |
| "!=", |
| "!==", |
| ">", |
| ">=", |
| "<", |
| "<=", |
| "," |
| ], |
| "disallowSpaceBeforeBinaryOperators": [","], |
| "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
| "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
| "requireSpaceBeforeBinaryOperators": [ |
| "=", |
| "+", |
| "-", |
| "/", |
| "*", |
| "==", |
| "===", |
| "!=", |
| "!==" |
| ], |
| "requireSpaceAfterBinaryOperators": [ |
| "=", |
| ",", |
| "+", |
| "-", |
| "/", |
| "*", |
| "==", |
| "===", |
| "!=", |
| "!==" |
| ], |
| "disallowImplicitTypeConversion": [ |
| "numeric", |
| "boolean", |
| "binary", |
| "string" |
| ], |
| "requireCamelCaseOrUpperCaseIdentifiers": true, |
| "disallowKeywords": ["with"], |
| "disallowMultipleLineBreaks": true, |
| "validateLineBreaks": "LF", |
| "validateQuoteMarks": "'", |
| "validateIndentation": 4, |
| "disallowMixedSpacesAndTabs": true, |
| "disallowTrailingWhitespace": true, |
| "disallowTrailingComma": true, |
| "disallowKeywordsOnNewLine": ["else"], |
| "maximumLineLength": 120, |
| "safeContextKeyword": ["$this"], |
| "disallowYodaConditions": true, |
| "validateJSDoc": { |
| "checkParamNames": true, |
| "checkRedundantParams": true, |
| "requireParamTypes": true |
| }, |
| "requireLineFeedAtFileEnd": true |
| } |