mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
27 lines
1.2 KiB
JSON
27 lines
1.2 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": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"requireRightStickedOperators": [ "!" ],
|
|
"requireLeftStickedOperators": [ "," ],
|
|
"disallowKeywords": [ "with" ],
|
|
"disallowMultipleLineBreaks": true,
|
|
"disallowKeywordsOnNewLine": [ "else" ],
|
|
"requireLineFeedAtFileEnd": true,
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"validateLineBreaks": "LF"
|
|
}
|