-
Notifications
You must be signed in to change notification settings - Fork 5
/
.jscsrc
32 lines (26 loc) · 974 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
32
{
"preset": "google",
"fileExtensions": [".js", ".jsx"],
"excludeFiles": ["lib/ext/*"],
"maximumLineLength": 200,
"requireParenthesesAroundIIFE": true,
"requireBlocksOnNewline": true,
"requireTrailingComma": true,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"requireSpaceAfterLineComment": true,
"requireCommaBeforeLineBreak": true,
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"validateLineBreaks": "LF",
"validateIndentation": 4,
"validateQuoteMarks": "'",
"disallowEmptyBlocks": true,
"disallowMultipleVarDecl": true,
"disallowKeywords": ["with"],
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"disallowKeywordsOnNewLine": ["else", "catch"],
"disallowYodaConditions": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"]
}