-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.jscsrc
More file actions
37 lines (37 loc) · 728 Bytes
/
.jscsrc
File metadata and controls
37 lines (37 loc) · 728 Bytes
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
{
"preset": "jquery",
"excludeFiles": [
"Marketplace/View/Js/index.js",
"Marketplace/View/Js/vendor/**/*.js"
],
"maximumLineLength": {
"value": 120,
"allowComments": true,
"allowRegex": true
},
"requirePaddingNewLinesBeforeLineComments": false,
"validateIndentation": 2,
"disallowMultipleLineBreaks": true,
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"disallowNewlineBeforeBlockStatements": true,
"requireSpacesInsideParentheses": {
"all": true,
"except": [
"{",
"}",
"\""
]
},
"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"return",
"try",
"catch"
]
}