-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.jscsrc
27 lines (27 loc) · 1.33 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
27
{
"excludeFiles":[ "node_modules/**",".idea",".git","static"],
"disallowArrowFunctions":false,
"disallowMultipleLineBreaks": false,
"disallowTrailingComma":true,
"disallowEmptyBlocks": true,
"disallowSpaceAfterObjectKeys": true,
"disallowCommaBeforeLineBreak": false,
"disallowTrailingWhitespace": true,
"disallowSpaceAfterPrefixUnaryOperators": [ "++", "--", "+", "-", "~", "!" ], "disallowSpaceBeforePostfixUnaryOperators": [ "++", "--" ],
"disallowKeywordsOnNewLine": [ "else" ],
"requireLineFeedAtFileEnd": true,
"requireMultipleVarDecl": false,
"requireCapitalizedConstructors": true,
"requireSpacesInsideObjectBrackets": "all", "requireSpacesInsideArrayBrackets": "all",
"requireSemicolons":true,
"requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "try", "catch" ],
"requireSpaceBeforeBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpaceAfterBinaryOperators": [ "+", "-", "/", "*", "=", "==", "===", "!=", "!==" ],
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"fix":true,
"esnext":true,
"extract": ["*.htm", "*.html","*.ejs"],
"validateLineBreaks": "LF",
}