forked from vokal/cvr-view
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jscsrc
46 lines (46 loc) · 1.4 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"disallowSpaceBeforeComma": true,
"disallowSpaceBeforeSemicolon": true,
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"maximumLineLength": 120,
"requireCommaBeforeLineBreak": true,
"requireCurlyBraces": true,
"requireDotNotation": {
"allExcept": [ "snake_case", "keywords" ]
},
"requireNewlineBeforeBlockStatements": [
"if",
"else",
"try",
"catch",
"finally",
"do",
"while",
"for"
],
"requirePaddingNewLinesAfterUseStrict": true,
"requireSpaceBeforeObjectValues": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"requireSpacesInConditionalExpression": true,
"requireSpacesInsideBrackets": {
"allExcept": [ "(", ")", "{", "}", "[", "]", "function" ]
},
"requireSpacesInsideParentheses": {
"all": true,
"except": [ "(", ")", "{", "}", "[", "]", "function" ]
},
"requireSemicolons": true,
"validateParameterSeparator": ", ",
"validateQuoteMarks": { "mark": "\"", "escape": true }
}