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-03-17 08:07:21 +01:00
|
|
|
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
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",
|
2013-12-25 20:22:52 +01:00
|
|
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
2014-04-21 01:33:23 +02:00
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
2013-12-25 20:22:52 +01:00
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
2014-03-17 08:07:21 +01:00
|
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
|
|
"disallowSpacesInsideParentheses": true,
|
|
|
|
"disallowTrailingComma": true,
|
2014-02-27 16:38:46 +01:00
|
|
|
"disallowTrailingWhitespace": true,
|
2014-03-06 22:10:40 +01: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,
|
2014-02-19 08:11:05 +01:00
|
|
|
"requireLeftStickedOperators": [","],
|
2013-12-25 20:22:52 +01:00
|
|
|
"requireLineFeedAtFileEnd": true,
|
|
|
|
"requireRightStickedOperators": ["!"],
|
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-04-21 01:33:23 +02:00
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
2014-03-17 08:07:21 +01:00
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": 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
|
|
|
}
|