forked from sockjs/sockjs-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
20 lines (20 loc) · 778 Bytes
/
.jscsrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireSpaceAfterKeywords": ["do", "for", "if", "else", "switch", "case", "try", "catch", "void", "while", "with", "return", "typeof"],
"requireSpaceBeforeBlockStatements": true,
"requireParenthesesAroundIIFE": true,
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunction": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunction": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInCallExpression": true,
"requireBlocksOnNewline": true,
"disallowCommaBeforeLineBreak": true,
"requireCapitalizedConstructors": true,
"validateQuoteMarks": { "escape": true, "mark": "'" },
"validateIndentation": 2,
"validateParameterSeparator": ", "
}