31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
|
{
|
||
|
"requireCurlyBraces": ["do", "switch", "return", "try", "catch"],
|
||
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
||
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
|
||
|
"requireSpaceAfterKeywords": ["else", "do", "switch", "return", "try"],
|
||
|
"disallowSpaceAfterKeywords": ["if", "catch", "for", "while"],
|
||
|
"disallowSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
||
|
|
||
|
"requireCapitalizedConstructors": true,
|
||
|
"requireCommaBeforeLineBreak": true,
|
||
|
"requireDotNotation": true,
|
||
|
"requireParenthesesAroundIIFE": true,
|
||
|
|
||
|
"disallowEmptyBlocks": true,
|
||
|
|
||
|
"disallowSpaceAfterPrefixUnaryOperators": ["!"],
|
||
|
"disallowSpaceBeforeBinaryOperators": [","],
|
||
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
||
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||
|
|
||
|
"disallowKeywords": ["with"],
|
||
|
"disallowMultipleLineStrings": true,
|
||
|
"disallowTrailingWhitespace": true,
|
||
|
|
||
|
"validateIndentation": "\t",
|
||
|
"validateLineBreaks": "LF",
|
||
|
"validateQuoteMarks": "\"",
|
||
|
|
||
|
"safeContextKeyword": "_this"
|
||
|
}
|