-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscs.json
18 lines (18 loc) · 849 Bytes
/
.jscs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireRightStickedOperators": ["!"],
"requireLeftStickedOperators": [","],
"disallowImplicitTypeConversion": ["string"],
"disallowKeywords": ["with"],
"disallowMultipleLineBreaks": true,
"disallowKeywordsOnNewLine": ["else"],
"requireLineFeedAtFileEnd": true,
"excludeFiles": ["test/data/*.js"],
"validateJSDoc": {
"checkParamNames": true,
"requireParamTypes": true
}
}