forked from NereusTeam/extrus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
26 lines (25 loc) · 1.08 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
/* Please see http://jscs.info/rules for information on how to modify this file */
{
"excludeFiles": ["public/bower_components/**", "node_modules/**", "client/lib/**"],
"disallowKeywordsOnNewLine": ["else"],
"disallowKeywords": ["with", "case"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleSpaces": {"allowEOLComments": true},
"disallowMultipleVarDecl": {"allExcept": ["require", "undefined"]},
"disallowNewlineBeforeBlockStatements": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"requireBlocksOnNewline": true,
"requireCurlyBraces": true,
"requireObjectKeysOnNewLine": true,
"requireSemicolons": true,
"requireSpaceAfterBinaryOperators": true,
"requireSpaceAfterKeywords": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBetweenArguments": true,
"requireSpacesInForStatement": true,
"requireSpacesInFunctionDeclaration": {"beforeOpeningCurlyBrace": true},
"requireSpacesInFunctionExpression": {"beforeOpeningCurlyBrace": true}
}