forked from albburtsev/jquery.typist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jscs.json
19 lines (18 loc) · 787 Bytes
/
.jscs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"requireCurlyBraces": ["for", "while", "do", "if", "else"],
"requireSpaceAfterKeywords": ["if", "for", "while", "do", "switch", "return"],
"disallowSpacesInsideArrayBrackets": true,
"requireSpacesInsideObjectBrackets": "all",
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireRightStickedOperators": ["!"],
"disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireLeftStickedOperators": [","],
"disallowKeywords": ["with", "eval"],
"validateJSDoc": {
"checkParamNames": true,
"checkRedundantParams": true,
"requireParamTypes": true
}
}