-
Notifications
You must be signed in to change notification settings - Fork 7
/
.jscsrc
180 lines (177 loc) · 6.56 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"plugins": [],
"additionalRules": [],
"preset": "jquery",
"excludeFiles": [],
"fileExtensions": [],
"extract": [],
"maxErrors": null,
"fix": null,
"esnext": null,
"es3": null,
"verbose": null,
"esprima": null,
"esprimaOptions": {},
"errorFilter": null,
"disallowAnonymousFunctions": false,
"disallowArrowFunctions": true,
"disallowCapitalizedComments": false,
"disallowCommaBeforeLineBreak": false,
"disallowCurlyBraces": false,
"disallowDanglingUnderscores": false,
"disallowEmptyBlocks": true,
"disallowFunctionDeclarations": false,
"disallowIdenticalDestructuringNames": true,
"disallowIdentifierNames": [],
"disallowImplicitTypeConversion": [],
"disallowKeywordsInComments": false,
"disallowKeywordsOnNewLine": [],
"disallowKeywords": [],
"disallowMixedSpacesAndTabs": true,
"disallowMultiLineTernary": false,
"disallowMultipleLineBreaks": false,
"disallowMultipleLineStrings": true,
"disallowMultipleSpaces": false,
"disallowMultipleVarDecl": false,
"disallowNamedUnassignedFunctions": true,
"disallowNestedTernaries": false,
"disallowNewlineBeforeBlockStatements": false,
"disallowNodeTypes": [],
"disallowNotOperatorsInConditionals": true,
"disallowObjectKeysOnNewLine": false,
"disallowOperatorBeforeLineBreak": false,
"disallowPaddingNewLinesAfterBlocks": false,
"disallowPaddingNewLinesAfterUseStrict": false,
"disallowPaddingNewLinesBeforeExport": true,
"disallowPaddingNewlinesBeforeKeywords": false,
"disallowPaddingNewLinesBeforeLineComments": false,
"disallowPaddingNewlinesInBlocks": false,
"disallowPaddingNewLinesInObjects": false,
"disallowParenthesesAroundArrowParam": true,
"disallowQuotedKeysInObjects": true,
"disallowSemicolons": false,
"disallowShorthandArrowFunctions": true,
"disallowSpaceAfterBinaryOperators": false,
"disallowSpaceAfterComma": false,
"disallowSpaceAfterKeywords": false,
"disallowSpaceAfterLineComment": false,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceAfterPrefixUnaryOperators": false,
"disallowSpaceBeforeBinaryOperators": false,
"disallowSpaceBeforeBlockStatements": false,
"disallowSpaceBeforeComma": true,
"disallowSpaceBeforeKeywords": false,
"disallowSpaceBeforeObjectValues": false,
"disallowSpaceBeforePostfixUnaryOperators": true,
"disallowSpaceBeforeSemicolon": true,
"disallowSpaceBetweenArguments": false,
"disallowSpacesInAnonymousFunctionExpression": false,
"disallowSpacesInCallExpression": true,
"disallowSpacesInConditionalExpression": false,
"disallowSpacesInForStatement": false,
"disallowSpacesInFunctionDeclaration": false,
"disallowSpacesInFunctionExpression": false,
"disallowSpacesInFunction": false,
"disallowSpacesInNamedFunctionExpression": false,
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideBrackets": true,
"disallowSpacesInsideObjectBrackets": true,
"disallowSpacesInsideParentheses": false,
"disallowSpacesInsideParenthesizedExpression": false,
"disallowTabs": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"disallowUnusedParams": false,
"disallowYodaConditions": true,
"maximumLineLength": 1000,
"maximumNumberOfLines": null,
"requireAlignedMultilineParams": false,
"requireAlignedObjectValues": false,
"requireAnonymousFunctions": false,
"requireArrowFunctions": false,
"requireBlocksOnNewline": false,
"requireCamelCaseOrUpperCaseIdentifiers": false,
"requireCapitalizedComments": false,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": ["for", "while", "do", "try", "catch"],
"requireDollarBeforejQueryAssignment": true,
"requireDotNotation": true,
"requireFunctionDeclarations": false,
"requireKeywordsOnNewLine": [],
"requireLineBreakAfterVariableAssignment": false,
"requireLineFeedAtFileEnd": true,
"requireMatchingFunctionName": true,
"requireMultiLineTernary": false,
"requireMultipleVarDecl": false,
"requireNamedUnassignedFunctions": false,
"requireNewlineBeforeBlockStatements": false,
"requireNumericLiterals": true,
"requireObjectKeysOnNewLine": false,
"requireOperatorBeforeLineBreak": false,
"requirePaddingNewLineAfterVariableDeclaration": false,
"requirePaddingNewLinesAfterBlocks": false,
"requirePaddingNewLinesAfterUseStrict": false,
"requirePaddingNewLinesBeforeExport": false,
"requirePaddingNewlinesBeforeKeywords": false,
"requirePaddingNewLinesBeforeLineComments": false,
"requirePaddingNewlinesInBlocks": false,
"requirePaddingNewLinesInObjects": false,
"requireParenthesesAroundArrowParam": true,
"requireParenthesesAroundIIFE": true,
"requireQuotedKeysInObjects": false,
"requireSemicolons": true,
"requireShorthandArrowFunctions": true,
"requireSpaceAfterBinaryOperators": false,
"requireSpaceAfterComma": true,
"requireSpaceAfterKeywords": false,
"requireSpaceAfterLineComment": false,
"requireSpaceAfterObjectKeys": false,
"requireSpaceAfterPrefixUnaryOperators": false,
"requireSpaceBeforeBinaryOperators": false,
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeComma": false,
"requireSpaceBeforeKeywords": false,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforePostfixUnaryOperators": false,
"requireSpaceBetweenArguments": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInCallExpression": false,
"requireSpacesInConditionalExpression": true,
"requireSpacesInForStatement": true,
"requireSpacesInFunctionDeclaration": {
"beforeOpeningCurlyBrace": true,
"beforeOpeningRoundBrace": true
},
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunction": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInNamedFunctionExpression": {
"beforeOpeningCurlyBrace": true,
"beforeOpeningRoundBrace": true
},
"requireSpacesInsideArrayBrackets": false,
"requireSpacesInsideBrackets": false,
"requireSpacesInsideObjectBrackets": false,
"requireSpacesInsideParentheses": false,
"requireSpacesInsideParenthesizedExpression": false,
"requireSpread": false,
"requireTemplateStrings": false,
"requireTrailingComma": false,
"requireVarDeclFirst": false,
"requireYodaConditions": false,
"safeContextKeyword": ["that", "spec", "self"],
"validateAlignedFunctionParameters": true,
"validateCommentPosition": false,
"validateIndentation": {"value": 2},
"validateLineBreaks": false,
"validateNewlineAfterArrayElements": false,
"validateOrderInObjectKeys": false,
"validateParameterSeparator": ", ",
"validateQuoteMarks": false
}