-
Notifications
You must be signed in to change notification settings - Fork 29
/
.jscsrc
35 lines (32 loc) · 1.16 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
{
"maximumLineLength": 80,
"validateIndentation": 2,
"validateQuoteMarks": "\"",
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
"disallowNamedUnassignedFunctions": true,
"disallowQuotedKeysInObjects": true,
"disallowSpacesInsideParentheses": true,
"disallowKeywordsOnNewLine": ["else"],
"disallowIdentifierNames": ["console"],
"requireCurlyBraces": true,
"requireDotNotation": true,
"requireSemicolons": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBetweenArguments": true,
"requireSpacesInForStatement": true,
"requireSpaceAfterObjectKeys": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInConditionalExpression": true,
"requireBlocksOnNewline": true,
"requireCommaBeforeLineBreak": true,
"requireLineFeedAtFileEnd": true,
"requirePaddingNewLineAfterVariableDeclaration": true,
"requirePaddingNewLinesAfterUseStrict": true,
"requirePaddingNewLinesBeforeExport": true,
"requirePaddingNewLinesInObjects": true
}