-
Notifications
You must be signed in to change notification settings - Fork 3
/
.jscsrc
31 lines (31 loc) · 945 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
{
"excludeFiles" : ["node_modules", ".git", "coverage"],
"disallowEmptyBlocks": {"allExcept": ["comments"]},
"disallowMixedSpacesAndTabs": "smart",
"disallowMultipleLineBreaks": true,
"disallowMultipleLineStrings": true,
"disallowMultipleVarDecl": "exceptUndefined",
"disallowOperatorBeforeLineBreak": ["+", ".", "||", "&&", "-", "!", "/", "*", "%"],
"disallowTrailingWhitespace": true,
"maximumLineLength": 120,
"safeContextKeyword": ["self"],
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": true,
"requirePaddingNewlinesBeforeKeywords": [
"do",
"for",
"if",
"return",
"switch",
"throw",
"try",
"while"
],
"requireParenthesesAroundIIFE": true,
"requireQuotedKeysInObjects": true,
"requireSpaceBetweenArguments": true,
"requireTrailingComma": {"ignoreSingleValue": true, "ignoreSingleLine": true},
"validateIndentation": { "value": "\t" },
"validateLineBreaks": "LF",
"validateQuoteMarks": "\""
}