This repository has been archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.jscsrc
60 lines (60 loc) · 2.29 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"requireOperatorBeforeLineBreak": true,
"disallowMixedSpacesAndTabs": true,
"disallowNewlineBeforeBlockStatements": ["if", "else", "try", "catch", "finally", "do", "while", "for"],
"requireCurlyBraces": [ "if", "else", "for", "while", "do", "try", "catch" ],
"requireSpaceAfterKeywords": [ "if", "else", "typeof", "for", "while", "do", "switch", "return", "try", "catch" ],
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"requireSpaceBeforeKeywords": [
"else",
"while",
"catch"
],
"disallowSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"requireMultipleVarDecl": true,
"disallowSpaceAfterObjectKeys": true,
"requireCommaBeforeLineBreak": true,
"validateParameterSeparator": ", ",
"requireSpaceBeforeBlockStatements": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforeBinaryOperators": [ "," ],
"requireSpaceAfterBinaryOperators": [ "?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
"requireSpaceBeforeBinaryOperators": [ "?", "+", "-", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowKeywords": [ "with" ],
"requireCamelCaseOrUpperCaseIdentifiers": true,
"disallowMultipleLineStrings": true,
"disallowMultipleLineBreaks": true,
"disallowKeywordsOnNewLine": [ "else" ],
"validateLineBreaks": "LF",
"requireLineFeedAtFileEnd": true,
"disallowSpacesInCallExpression": true,
"validateQuoteMarks": "'",
"validateIndentation": 4,
"requireSpacesInConditionalExpression": {
"afterTest": true,
"beforeConsequent": true,
"afterConsequent": true,
"beforeAlternate": true
},
"maximumLineLength": {
"value": 120,
"allowComments": true,
"allowRegex": true
},
"requireLineFeedAtFileEnd": true,
"requireSpaceBeforeObjectValues": true,
"requireSpacesInForStatement": true,
"requireCapitalizedConstructors": true,
"maxErrors": null,
"excludeFiles": []
}