.jscsrc
1.19 KB
{
"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"
}