mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
24 lines
1005 B
JSON
24 lines
1005 B
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" ]
|
||
|
}
|