0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-11 03:52:27 +01:00
Bootstrap/js/.jscsrc

43 lines
2.1 KiB
Plaintext
Raw Normal View History

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