-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.jscsrc
63 lines (50 loc) · 1.68 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// http://jscs.info/rules.html
{
"disallowAnonymousFunctions": null,
"requireAnonymousFunctions": null,
"disallowArrowFunctions": null,
"requireArrowFunctions": null,
"disallowCapitalizedComments": null,
"requireCapitalizedComments": null,
"disallowCommaBeforeLineBreak": null,
"requireCommaBeforeLineBreak": null,
"disallowCurlyBraces": null,
"requireCurlyBraces": true,
"disallowFunctionDeclarations": null,
"requireFunctionDeclarations": null,
"disallowDanglingUnderscores": false,
"disallowEmptyBlocks": {"allExcept": ["comments"]},
"disallowIdentifierNames": [],
"disallowImplicitTypeConversion": [],
"disallowKeywords": [],
"disallowKeywordsInComments": null,
"disallowKeywordsOnNewLine": [],
"requireKeywordsOnNewLine": [],
"disallowMixedSpacesAndTabs": "smart",
"disallowMultipleLineBreaks": null,
"disallowMultipleLineStrings": true,
"disallowMultipleSpaces": null,
"disallowMultipleVarDecl": null,
"requireMultipleVarDecl": null,
"disallowTrailingComma": null,
"requireTrailingComma": null,
"validateIndentation": null,
"jsDoc": {
"enforceExistence": false,
"checkAnnotations": true,
"checkParamNames": true,
"requireParamTypes": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"checkTypes": "capitalizedNativeCase",
"checkRedundantAccess": "enforceLeadingUnderscore",
"leadingUnderscoreAccess": true,
"requireHyphenBeforeDescription": true,
"requireNewlineAfterDescription": true,
"disallowNewlineAfterDescription": true,
"requireDescriptionCompleteSentence": true,
"requireParamDescription": true
}
}