0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/js/.jscsrc

35 lines
1.7 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": ["++", "--"],
"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,
"requireDotNotation": true,
2013-12-25 20:22:52 +01:00
"requireLineFeedAtFileEnd": true,
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
2013-12-25 20:22:52 +01:00
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceAfterLineComment": true,
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
2013-12-25 20:22:52 +01:00
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInsideObjectBrackets": "allButNested",
"validateIndentation": 2,
2014-02-19 08:11:25 +01:00
"validateLineBreaks": "LF",
"validateQuoteMarks": "'"
2013-12-07 01:51:38 +01:00
}