1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/js/.jscsrc

44 lines
2.1 KiB
Text
Raw Normal View History

2013-12-06 19:51:38 -05:00
{
2015-05-07 15:48:22 -04:00
"esnext": 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,
"disallowMultipleVarDecl": true,
2014-03-09 05:10:15 -04:00
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
2014-07-25 14:02:30 -04:00
"disallowSpaceBeforeBinaryOperators": [","],
2013-12-25 14:22:52 -05:00
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
2014-06-10 01:18:05 -04:00
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
2014-02-27 10:38:46 -05:00
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
2015-05-06 16:34:14 -04:00
"requireDollarBeforejQueryAssignment": true,
"requireDotNotation": true,
2013-12-25 14:22:52 -05:00
"requireLineFeedAtFileEnd": true,
2015-05-06 16:34:14 -04:00
"requirePaddingNewLinesAfterUseStrict": true,
"requirePaddingNewLinesBeforeExport": true,
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
2013-12-25 14:22:52 -05:00
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceAfterLineComment": true,
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpaceBetweenArguments": true,
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
"requireSpacesInConditionalExpression": true,
"requireSpacesInForStatement": true,
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
2013-12-25 14:22:52 -05:00
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInsideObjectBrackets": "allButNested",
2015-05-06 16:34:14 -04:00
"validateAlignedFunctionParameters": true,
"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
}