-
Notifications
You must be signed in to change notification settings - Fork 26
/
.jscsrc
42 lines (42 loc) · 1.67 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
{
"disallowMixedSpacesAndTabs": true,
"disallowMultipleSpaces": {"allowEOLComments": true},
"disallowNewlineBeforeBlockStatements": true,
"disallowSpaceAfterObjectKeys": { "allExcept": ["aligned"] },
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforeComma": {"allExcept": ["sparseArrays"]},
"disallowSpaceBeforePostfixUnaryOperators": true,
"disallowSpaceBeforeSemicolon": { "allExcept": [ "(" ] },
"disallowTabs": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"disallowUnusedParams": true,
"requireBlocksOnNewline": 1,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": true,
"requireDollarBeforejQueryAssignment": true,
"requireEarlyReturn": true,
"requireParenthesesAroundIIFE": true,
"requireSemicolons": true,
"requireSpaceAfterBinaryOperators": true,
"requireSpaceAfterComma": true,
"requireSpaceAfterKeywords": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceBeforeDestructuredValues": true,
"requireSpaceBeforeKeywords": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBetweenArguments": true,
"requireSpacesInConditionalExpression": true,
"requireSpacesInForStatement": true,
"requireSpacesInFunction": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInsideArrayBrackets": "all",
"requireSpacesInsideObjectBrackets": "all",
"requireSpacesInsideParentheses": "all",
"validateIndentation": { "value": 2, "allExcept": ["comments", "emptyLines"] },
"validateQuoteMarks": { "mark": "'", "escape": true, "ignoreJSX": true }
}