mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-30 09:04:58 +05:00
22 lines
980 B
Text
22 lines
980 B
Text
{
|
|
"requireSpaceAfterKeywords": [
|
|
"if", "else", "for", "while", "do", "switch", "return"
|
|
],
|
|
"disallowSpacesInFunctionExpression": {
|
|
"beforeOpeningRoundBrace": true,
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"disallowSpacesInsideObjectBrackets": true,
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
"disallowSpacesInsideParentheses": true,
|
|
"disallowQuotedKeysInObjects": "allButReserved",
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"requireSpaceAfterBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"requireSpaceBeforeBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
"disallowSpaceBeforeBinaryOperators": [","],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"validateLineBreaks": "LF",
|
|
"requireKeywordsOnNewLine": ["return", "break", "delete"],
|
|
"requireLineFeedAtFileEnd": true
|
|
}
|