-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
32 lines (32 loc) · 1.08 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
{
"preset": "jquery",
"esnext": true,
"requireSemicolons": true,
"requireSpacesInsideParentheses": {
"all": true,
"ignoreParenthesizedExpression": true,
"except": [ "{", "}", "[", "]", "function", "\"" ]
},
"disallowSpacesInsideParentheses": {
"only": [ "{", "}", "[", "]", "function" ]
},
"disallowSpacesInCallExpression": true,
"requirePaddingNewLinesBeforeLineComments": null,
"requireSpaceAfterLineComment": null,
"disallowMultipleLineBreaks": null,
"requireCapitalizedComments": null,
"validateIndentation": null,
"validateCommentPosition": { "position": "above" },
"maximumLineLength": {
"value": 100,
"tabSize": 4,
"allExcept": ["urlComments", "regex"]
},
"validateQuoteMarks": "'",
"requireTemplateStrings": { "allExcept": ["stringConcatenation"] },
"requireSpaceBeforeObjectValues": true,
"requireArrowFunctions": true,
"disallowParenthesesAroundArrowParam": true,
"requireShorthandArrowFunctions": true,
"disallowUnusedParams": true
}