forked from uxsolutions/bootstrap-datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscs.json
27 lines (27 loc) · 1.02 KB
/
.jscs.json
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
{
"requireSpaceAfterKeywords": [
"if", "else", "for", "while", "do", "switch", "return"
],
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInsideObjectBrackets": true,
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterObjectKeys": true,
"disallowLeftStickedOperators": [
"?", "==", "===", "!=", "!==", ">", ">=", "<", "<="
],
"disallowRightStickedOperators": [
"?", "==", "===", "!=", "!==", ">", ">=", "<", "<="
],
"requireLeftStickedOperators": [","],
"requireRightStickedOperators": ["!"],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"validateLineBreaks": "LF",
"requireKeywordsOnNewLine": ["else", "return", "break", "delete"],
"requireLineFeedAtFileEnd": true
}