2013-12-06 19:51:38 -05:00
|
|
|
{
|
2015-05-07 15:48:22 -04:00
|
|
|
"esnext": true,
|
2015-10-19 00:07:57 -04:00
|
|
|
"verbose": true,
|
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-04-20 19:33:23 -04:00
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
2014-07-25 14:02:30 -04:00
|
|
|
"disallowSpaceBeforeBinaryOperators": [","],
|
2013-12-25 14:22:52 -05:00
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
2015-03-26 13:27:47 -04:00
|
|
|
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
|
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,
|
2015-05-06 16:34:14 -04:00
|
|
|
"requireDollarBeforejQueryAssignment": true,
|
2014-05-04 18:15:02 -04:00
|
|
|
"requireDotNotation": true,
|
2013-12-25 14:22:52 -05:00
|
|
|
"requireLineFeedAtFileEnd": true,
|
2015-05-06 16:34:14 -04:00
|
|
|
"requirePaddingNewLinesAfterUseStrict": true,
|
|
|
|
"requirePaddingNewLinesBeforeExport": 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-12-29 15:02:32 -05:00
|
|
|
"requireSpaceBetweenArguments": true,
|
2015-10-19 00:07:57 -04:00
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true, "allExcept": ["shorthand"] },
|
2014-06-19 05:40:56 -04:00
|
|
|
"requireSpacesInConditionalExpression": true,
|
2015-01-16 10:43:39 -05:00
|
|
|
"requireSpacesInForStatement": 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",
|
2015-05-06 16:34:14 -04:00
|
|
|
"validateAlignedFunctionParameters": true,
|
2014-02-19 02:11:05 -05:00
|
|
|
"validateIndentation": 2,
|
2014-02-19 02:11:25 -05:00
|
|
|
"validateLineBreaks": "LF",
|
2015-05-06 16:34:14 -04:00
|
|
|
"validateNewlineAfterArrayElements": true,
|
2014-02-19 02:11:25 -05:00
|
|
|
"validateQuoteMarks": "'"
|
2013-12-06 19:51:38 -05:00
|
|
|
}
|