29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
{
|
|
"requireCurlyBraces": ["if", "else", "for", "while", "do"],
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "function"],
|
|
"requireParenthesesAroundIIFE": true,
|
|
"requireSpacesInFunctionExpression": {
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"requireMultipleVarDecl": true,
|
|
"disallowEmptyBlocks": true,
|
|
"requireSpacesInsideObjectBrackets": "all",
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"requireCommaBeforeLineBreak": true,
|
|
"disallowLeftStickedOperators": ["?", ">", ">=", "<", "<="],
|
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
"requireRightStickedOperators": ["!"],
|
|
"requireLeftStickedOperators": [","],
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
"disallowMultipleLineBreaks": true,
|
|
"validateLineBreaks": "LF",
|
|
"validateQuoteMarks": "'",
|
|
"disallowMixedSpacesAndTabs": "smart",
|
|
"disallowTrailingWhitespace": true,
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requireDotNotation": true
|
|
}
|