forked from cgrossde/Pullover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
21 lines (21 loc) · 1.07 KB
/
.jscsrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"excludeFiles": [ "node_modules/**", "coverage"],
"requireLineFeedAtFileEnd": true,
"disallowMultipleLineBreaks": true,
"disallowMultipleVarDecl": true,
"disallowEmptyBlocks": true,
"disallowSpaceAfterObjectKeys": true,
"disallowTrailingWhitespace": true,
"requireCapitalizedConstructors": true,
"requireSpacesInsideObjectBrackets": "all",
"validateLineBreaks": "LF",
"requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "try", "catch" ],
"disallowSpaceAfterPrefixUnaryOperators": [ "++", "--", "+", "-", "~" ],
"disallowSpaceBeforePostfixUnaryOperators": [ "++", "--" ],
"requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"disallowKeywordsOnNewLine": [ ],
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }
}