This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
forked from johnhof/fleek-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
65 lines (65 loc) · 1.92 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"esnext": true,
"disallowEmptyBlocks": true,
"disallowSpacesInCallExpression": false,
"disallowSpacesInsideArrayBrackets": false,
"disallowSpacesInsideParentheses": false,
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": false,
"disallowSpaceAfterPrefixUnaryOperators": false,
"disallowSpaceBeforePostfixUnaryOperators": false,
"disallowSpaceBeforeBinaryOperators": [
","
],
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"disallowSpaceBeforeComma": true,
"disallowYodaConditions": true,
"disallowKeywords": [ "with" ],
"disallowKeywordsOnNewLine": ["else"],
"disallowMultipleLineBreaks": false,
"disallowMultipleLineStrings": true,
"disallowMultipleVarDecl": true,
"disallowSpaceBeforeSemicolon": true,
"requireSpaceBeforeBlockStatements": true,
"requireParenthesesAroundIIFE": true,
"requireSpacesInConditionalExpression": true,
"requireBlocksOnNewline": 1,
"requireCommaBeforeLineBreak": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterBinaryOperators": true,
"requireLineFeedAtFileEnd": true,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"requireSpacesInForStatement": true,
"requireSpaceBetweenArguments": true,
"requireCurlyBraces": [
"do",
"for",
"try",
"catch"
],
"requireSpaceAfterKeywords": [
"do",
"if",
"else",
"for",
"while",
"do",
"switch",
"case",
"return",
"try",
"catch",
"typeof",
"function"
],
"requirePaddingNewLinesAfterBlocks": {
"allExcept": ["inProperties"]
},
"requireSemicolons": true,
"safeContextKeyword": ["self", "ctx", "_this", "_self"],
"validateLineBreaks": "LF",
"validateQuoteMarks": "'",
"validateIndentation": 2
}