-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.jscsrc
More file actions
34 lines (19 loc) · 768 Bytes
/
.jscsrc
File metadata and controls
34 lines (19 loc) · 768 Bytes
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
{
"validateIndentation": 4,
"requireCurlyBraces": ["while", "do", "try", "catch", "for"],
"disallowKeywords": [ "with" ],
"requireAlignedMultilineParams": "firstParam",
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpacesInForStatement": true,
"requireSpaceAfterComma": {"allExcept": ["trailing"]},
"requireSpaceBeforeBlockStatements": 1,
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpaceBeforeComma": {"allExcept": ["sparseArrays"]},
"disallowSpaceBeforeSemicolon": { "allExcept": [ "(" ] },
"disallowMixedSpacesAndTabs": true,
"validateLineBreaks": "LF",
"requireLineFeedAtFileEnd": true,
"disallowTrailingWhitespace": true
}