-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.jscs.json
15 lines (15 loc) · 908 Bytes
/
.jscs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"disallowKeywords": ["with"],
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"excludeFiles": ["node_modules/**"],
"requireKeywordsOnNewLine": ["else"],
"requireLeftStickedOperators": [","],
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"requireSpacesInFunctionExpression": {"beforeOpeningCurlyBrace": true},
"validateLineBreaks": "LF"
}