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-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",
|
2014-06-19 05:40:56 -04:00
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["!"],
|
|
|
|
"disallowSpaceBeforeBinaryOperators": [","],
|
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,
|
2014-06-10 01:18:05 -04:00
|
|
|
"disallowSpacesInsideParentheses": true,
|
2014-06-23 14:07:18 -04:00
|
|
|
"disallowTrailingComma": true,
|
2014-02-27 10:38:46 -05:00
|
|
|
"disallowTrailingWhitespace": true,
|
2014-06-23 14:07:18 -04: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,
|
2013-12-25 14:22:52 -05:00
|
|
|
"requireLineFeedAtFileEnd": true,
|
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-06-19 05:40:56 -04:00
|
|
|
"requireSpaceAfterLineComment": true,
|
2014-04-20 19:33:23 -04:00
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
2014-03-17 03:07:21 -04:00
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
|
2014-06-19 05:40:56 -04:00
|
|
|
"requireSpacesInConditionalExpression": 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
|
|
|
}
|