0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/js/.jscsrc

43 lines
2.1 KiB
Plaintext
Raw Normal View History

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,
"disallowMultipleVarDecl": true,
2014-03-09 10:10:15 +01:00
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
2014-07-25 20:02:30 +02:00
"disallowSpaceBeforeBinaryOperators": [","],
2013-12-25 20:22:52 +01:00
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
2014-06-10 07:18:05 +02:00
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
2014-02-27 16:38:46 +01:00
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
2015-05-06 22:34:14 +02:00
"requireDollarBeforejQueryAssignment": true,
"requireDotNotation": true,
2013-12-25 20:22:52 +01:00
"requireLineFeedAtFileEnd": true,
2015-05-06 22:34:14 +02: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 22:34:14 +02:00
"validateAlignedFunctionParameters": true,
"validateIndentation": 2,
2014-02-19 08:11:25 +01:00
"validateLineBreaks": "LF",
2015-05-06 22:34:14 +02:00
"validateNewlineAfterArrayElements": true,
2014-02-19 08:11:25 +01:00
"validateQuoteMarks": "'"
2013-12-07 01:51:38 +01:00
}