2014-07-11 09:46:09 +04:00
|
|
|
{
|
|
|
|
"disallowEmptyBlocks": true,
|
|
|
|
"disallowKeywords": ["with"],
|
|
|
|
"disallowMixedSpacesAndTabs": true,
|
|
|
|
"disallowMultipleLineStrings": true,
|
|
|
|
"disallowMultipleVarDecl": true,
|
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
2014-10-18 02:04:57 +04:00
|
|
|
"disallowSpacesInCallExpression": true,
|
2014-07-11 09:46:09 +04:00
|
|
|
"disallowTrailingWhitespace": true,
|
|
|
|
"requireCapitalizedConstructors": true,
|
|
|
|
"requireCommaBeforeLineBreak": true,
|
|
|
|
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"],
|
|
|
|
"requireLineFeedAtFileEnd": true,
|
|
|
|
"requireParenthesesAroundIIFE": true,
|
|
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
2014-07-11 14:11:31 +04:00
|
|
|
"requireSpacesInConditionalExpression": true,
|
2014-07-11 09:46:09 +04:00
|
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
2014-07-11 14:11:31 +04:00
|
|
|
"validateIndentation": 4,
|
2014-10-18 02:04:57 +04:00
|
|
|
"validateLineBreaks": "LF",
|
|
|
|
"validateParameterSeparator": ", "
|
2014-07-11 09:46:09 +04:00
|
|
|
}
|