0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-10 03:46:13 +01:00
Bootstrap/js/.jscsrc

24 lines
1.2 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"],
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
2014-02-19 14:28:05 +02:00
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
2014-03-09 11:10:15 +02:00
"disallowQuotedKeysInObjects": "allButReserved",
2013-12-25 20:22:52 +01:00
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
2013-12-08 21:25:25 -08:00
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
2013-12-25 20:22:52 +01:00
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
2014-02-27 17:38:46 +02:00
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireLeftStickedOperators": [","],
2013-12-25 20:22:52 +01:00
"requireLineFeedAtFileEnd": true,
"requireRightStickedOperators": ["!"],
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"validateIndentation": 2,
2014-02-19 09:11:25 +02:00
"validateLineBreaks": "LF",
"validateQuoteMarks": "'"
2013-12-06 16:51:38 -08:00
}