mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 06:02:39 +01:00
28 lines
1.0 KiB
JSON
28 lines
1.0 KiB
JSON
{
|
|
"requireSpaceAfterKeywords": [
|
|
"if", "else", "for", "while", "do", "switch", "return"
|
|
],
|
|
"disallowSpacesInFunctionExpression": {
|
|
"beforeOpeningRoundBrace": true,
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"disallowSpacesInsideObjectBrackets": true,
|
|
"disallowSpacesInsideArrayBrackets": true,
|
|
"disallowSpacesInsideParentheses": true,
|
|
"disallowQuotedKeysInObjects": "allButReserved",
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"disallowLeftStickedOperators": [
|
|
"?", "==", "===", "!=", "!==", ">", ">=", "<", "<="
|
|
],
|
|
"disallowRightStickedOperators": [
|
|
"?", "==", "===", "!=", "!==", ">", ">=", "<", "<="
|
|
],
|
|
"requireLeftStickedOperators": [","],
|
|
"requireRightStickedOperators": ["!"],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"validateLineBreaks": "LF",
|
|
"requireKeywordsOnNewLine": ["else", "return", "break", "delete"],
|
|
"requireLineFeedAtFileEnd": true
|
|
}
|