-
Notifications
You must be signed in to change notification settings - Fork 28
/
.jscsrc
35 lines (34 loc) · 969 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
34
35
{
"preset": "google",
"disallowEmptyBlocks": true,
"disallowImplicitTypeConversion": [
"boolean",
"numeric",
"string"
],
"disallowKeywords": [
"continue",
"eval",
"with"
],
"disallowKeywordsOnNewLine": ["else"],
"disallowMultipleVarDecl": "exceptUndefined",
"disallowPaddingNewlinesInBlocks": true,
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"disallowSpacesInCallExpression": true,
"disallowSpacesInFunction": {
"beforeOpeningRoundBrace": true
},
"disallowTrailingComma": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": true,
"requireDotNotation": true,
"requireParenthesesAroundIIFE": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeKeywords": ["else"],
"requireSpaceBeforeObjectValues": true,
"validateParameterSeparator": ", "
}