-
Notifications
You must be signed in to change notification settings - Fork 3
/
.jscsrc
33 lines (33 loc) · 859 Bytes
/
.jscsrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
// "disallowMultipleVarDecl": "exceptUndefined",
// "requireMultipleVarDecl": true,
"esnext": true,
"requireCurlyBraces": true,
"requireLineFeedAtFileEnd": true,
"requireSemicolons": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterBinaryOperators": true,
"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"try",
"catch",
"finally"
],
/* TODO: debate?
"disallowSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
*/
"disallowSpacesInCallExpression": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true
// "validateIndentation": 4
}