mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
c2e0dbdaa5
Tracked bower dependencies are located at "src/sizzle" and "test/libs". The source-destination mapping is in the Gruntfile. When updating a bower dependency, update the version in bower.json, run `grunt bower`, and then commit the result. When adding a dependency, update the bowercopy task accordingly. Fixes #14615. Closes gh-1452. Conflicts: bower.json test/index.html
24 lines
1.0 KiB
JSON
24 lines
1.0 KiB
JSON
{
|
|
"requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
|
|
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "return" ],
|
|
"requireSpacesInFunctionExpression": {
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"disallowSpacesInFunctionExpression": {
|
|
"beforeOpeningRoundBrace": true
|
|
},
|
|
"requireMultipleVarDecl": true,
|
|
"requireSpacesInsideObjectBrackets": "all",
|
|
"requireSpacesInsideArrayBrackets": "all",
|
|
"disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
|
|
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
"requireRightStickedOperators": [ "!" ],
|
|
"requireLeftStickedOperators": [ "," ],
|
|
"disallowKeywords": [ "with" ],
|
|
"disallowMultipleLineBreaks": true,
|
|
"disallowKeywordsOnNewLine": [ "else" ],
|
|
"requireLineFeedAtFileEnd": true,
|
|
|
|
"excludeFiles": [ "src/intro.js", "src/outro.js", "src/sizzle/**/*" ]
|
|
}
|