2013-10-10 16:42:21 +00:00
|
|
|
{
|
|
|
|
"requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
|
|
|
|
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "return" ],
|
|
|
|
"requireSpacesInFunctionExpression": {
|
|
|
|
"beforeOpeningCurlyBrace": true
|
|
|
|
},
|
|
|
|
"disallowSpacesInFunctionExpression": {
|
|
|
|
"beforeOpeningRoundBrace": true
|
|
|
|
},
|
|
|
|
"requireMultipleVarDecl": true,
|
|
|
|
"requireSpacesInsideObjectBrackets": "all",
|
|
|
|
"requireSpacesInsideArrayBrackets": "all",
|
|
|
|
"disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
|
|
|
|
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
2013-12-09 12:02:19 +00:00
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
2013-12-09 12:04:33 +00:00
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
|
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
2013-10-10 16:42:21 +00:00
|
|
|
"requireRightStickedOperators": [ "!" ],
|
|
|
|
"requireLeftStickedOperators": [ "," ],
|
|
|
|
"disallowKeywords": [ "with" ],
|
|
|
|
"disallowMultipleLineBreaks": true,
|
|
|
|
"disallowKeywordsOnNewLine": [ "else" ],
|
|
|
|
"requireLineFeedAtFileEnd": true,
|
2013-12-09 12:05:39 +00:00
|
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
|
|
"validateLineBreaks": "LF"
|
2013-10-10 16:42:21 +00:00
|
|
|
}
|