-
Notifications
You must be signed in to change notification settings - Fork 7
/
.jscsrc
26 lines (26 loc) · 1.28 KB
/
.jscsrc
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
{ "excludeFiles":
[ "node_modules/**"
, "coverage"
, "test"
]
, "disallowMultipleLineBreaks": true
, "disallowMultipleVarDecl": "exceptUndefined"
, "disallowQuotedKeysInObjects": "allButReserved"
, "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"]
, "disallowOperatorBeforeLineBreak": ["+", "."]
, "disallowImplicitTypeConversion": ["numeric", "boolean", "binary"]
, "disallowSpaceAfterPrefixUnaryOperators": [ "++", "--", "+", "-", "~", "!" ]
, "disallowSpaceBeforePostfixUnaryOperators": [ "++", "--" ]
, "disallowKeywordsOnNewLine": [ "else" ]
, "requireCapitalizedConstructors": true
, "requireSpacesInsideObjectBrackets": "all"
, "requireSpacesInsideArrayBrackets": "all"
, "requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ]
, "requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ]
, "requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "try", "catch" ]
, "requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ]
, "requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ]
, "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }
, "requireLineFeedAtFileEnd": false
, "validateLineBreaks": "LF"
}