2013-12-06 19:51:38 -05:00
|
|
|
{
|
2014-02-19 07:28:05 -05:00
|
|
|
"disallowEmptyBlocks": true,
|
2013-12-25 14:22:52 -05:00
|
|
|
"disallowKeywords": ["with"],
|
2014-03-17 03:07:21 -04:00
|
|
|
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
2014-02-19 07:28:05 -05:00
|
|
|
"disallowMixedSpacesAndTabs": true,
|
|
|
|
"disallowMultipleLineStrings": true,
|
2014-03-17 03:07:21 -04:00
|
|
|
"disallowMultipleVarDecl": true,
|
2014-03-09 05:10:15 -04:00
|
|
|
"disallowQuotedKeysInObjects": "allButReserved",
|
2013-12-25 14:22:52 -05:00
|
|
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
2014-04-20 19:33:23 -04:00
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
2013-12-25 14:22:52 -05:00
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
2014-03-17 03:07:21 -04:00
|
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
|
|
"disallowSpacesInsideParentheses": true,
|
|
|
|
"disallowTrailingComma": true,
|
2014-02-27 10:38:46 -05:00
|
|
|
"disallowTrailingWhitespace": true,
|
2014-03-06 16:10:40 -05:00
|
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
2014-05-04 18:15:02 -04:00
|
|
|
"requireCapitalizedConstructors": true,
|
2014-03-17 03:07:21 -04:00
|
|
|
"requireCommaBeforeLineBreak": true,
|
2014-05-04 18:15:02 -04:00
|
|
|
"requireDotNotation": true,
|
2014-02-19 02:11:05 -05:00
|
|
|
"requireLeftStickedOperators": [","],
|
2013-12-25 14:22:52 -05:00
|
|
|
"requireLineFeedAtFileEnd": true,
|
|
|
|
"requireRightStickedOperators": ["!"],
|
2014-04-20 19:33:23 -04:00
|
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
2013-12-25 14:22:52 -05:00
|
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
2014-04-20 19:33:23 -04:00
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
2014-03-17 03:07:21 -04:00
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
|
2014-05-04 18:15:02 -04:00
|
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
2013-12-25 14:22:52 -05:00
|
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
2014-05-04 18:15:02 -04:00
|
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
2014-03-17 03:07:21 -04:00
|
|
|
"requireSpacesInsideObjectBrackets": "allButNested",
|
2014-02-19 02:11:05 -05:00
|
|
|
"validateIndentation": 2,
|
2014-02-19 02:11:25 -05:00
|
|
|
"validateLineBreaks": "LF",
|
|
|
|
"validateQuoteMarks": "'"
|
2013-12-06 19:51:38 -05:00
|
|
|
}
|