-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.jscsrc
46 lines (46 loc) · 1.58 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
{
"disallowNewlineBeforeBlockStatements": true,
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"requireSpacesInFunction": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"disallowYodaConditions": true,
"maximumLineLength": 200,
"disallowMixedSpacesAndTabs": true,
"validateQuoteMarks": "\"",
"validateParameterSeparator": ", ",
"validateIndentation": "\t",
"validateAlignedFunctionParameters": {
"lineBreakAfterOpeningBraces": true,
"lineBreakBeforeClosingBraces": true
},
"safeContextKeyword": ["that"],
"requireSpacesInForStatement": true,
"requireSpacesInConditionalExpression": {
"afterTest": true,
"beforeConsequent": true,
"afterConsequent": true,
"beforeAlternate": true
},
"requireSpaceBetweenArguments": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforeKeywords": [ "else", "while", "catch" ],
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterLineComment": true,
"requireSpaceAfterKeywords": true,
"requireSpaceAfterBinaryOperators": true,
"requirePaddingNewlinesBeforeKeywords": ["if", "for", "while", "do", "try", "switch", "function", "case", "return"],
"requireLineFeedAtFileEnd": true,
"requireDotNotation": true,
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "switch", "function"],
"requireCommaBeforeLineBreak": true,
"requireCapitalizedConstructors": true,
"requireSemicolons": true,
"requireBlocksOnNewline": 1
}