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