mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
c2c19a4d2d
Will hopefully revert this reversion and land a fully-working version of UMD in v3.3.0. Revert "some changes from #13801 - add strict mode back and ==" This reverts commit2b302f69ee
. Revert "Fix regression of #10038 introduced by #13772" This reverts commite9d6756a1a
. Revert "MD/CommonJS/Globals #12909" This reverts commit1c6fa9010d
. Revert "address #13811" This reverts commitf347d7d955
. Conflicts: js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/tab.js js/tooltip.js
35 lines
1.8 KiB
Text
35 lines
1.8 KiB
Text
{
|
|
"disallowEmptyBlocks": true,
|
|
"disallowKeywords": ["with"],
|
|
"disallowMixedSpacesAndTabs": true,
|
|
"disallowMultipleLineStrings": true,
|
|
"disallowMultipleVarDecl": true,
|
|
"disallowQuotedKeysInObjects": "allButReserved",
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["!"],
|
|
"disallowSpaceBeforeBinaryOperators": [","],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
"disallowSpacesInsideParentheses": true,
|
|
"disallowTrailingComma": true,
|
|
"disallowTrailingWhitespace": true,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
|
"requireCapitalizedConstructors": true,
|
|
"requireCommaBeforeLineBreak": true,
|
|
"requireDotNotation": true,
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
|
|
"requireSpaceAfterLineComment": true,
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
"requireSpacesInsideObjectBrackets": "allButNested",
|
|
"validateIndentation": 2,
|
|
"validateLineBreaks": "LF",
|
|
"validateQuoteMarks": "'"
|
|
}
|