mirror of
https://github.com/supanadit/todo.git
synced 2024-11-23 02:36:24 +00:00
23 lines
980 B
Plaintext
23 lines
980 B
Plaintext
|
{
|
||
|
"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
|
||
|
}
|