forked from gustavohenke/bselect
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.jscs.json
24 lines (24 loc) · 1.21 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
{
"requireCurlyBraces": [ "if", "else", "for", "while", "do", "switch" ],
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch" ],
"disallowSpaceAfterKeywords": [],
"disallowMultipleVarDecl": true,
"requireSpacesInsideObjectBrackets": "all",
"disallowSpaceAfterObjectKeys": true,
"disallowLeftStickedOperators": [ "?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
"requireRightStickedOperators": [ "!" ],
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
"requireLeftStickedOperators": [ "," ],
"disallowImplicitTypeConversion": [],
"disallowKeywords": [ "with" ],
"disallowMultipleLineBreaks": true,
"disallowKeywordsOnNewLine": [ "else" ],
"requireKeywordsOnNewLine": [],
"requireSpacesInsideArrayBrackets": "all",
"validateJSDoc": {
"checkParamNames": true,
"checkRedundantParams": true,
"requireParamTypes": true
},
"excludeFiles": [ "node_modules/**" ]
}