forked from reduxframework/redux-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
51 lines (48 loc) · 1.57 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
{
"preset": "wordpress",
"fileExtensions": [".js", "jscs"],
"excludeFiles": [
"./gulpfile.js",
"./redux-core/inc/themecheck/js/*.min.js",
"./redux-core/inc/welcome/js/jquery.easing.min.js",
"./redux-core/inc/welcome/js/*.js",
"./redux-core/inc/extensions/**/*.min.js",
"./redux-core/inc/fields/spinner/vendor/*.min.js",
"./redux-core/inc/fields/typography/todo/*.*",
"./redux-core/inc/fields/**/*.min.js",
"./redux-core/assets/js/vendor/**/*.js",
"./redux-core/assets/js/vendor/*.js",
"./redux-core/assets/js/media/*.min.js",
"./redux-core/assets/js/*.js",
"./node_modules/**",
"./redux-templates/**",
"./.*/**"
],
"maxErrors": -1,
"requireSemicolons": true,
"requireParenthesesAroundIIFE": true,
"maximumLineLength": 240,
"validateLineBreaks": null,
"validateIndentation": "\t",
"disallowTrailingComma": true,
"disallowUnusedParams": true,
"disallowSpaceAfterPrefixUnaryOperators": false,
"disallowSpacesInsideParentheses": false,
"disallowSpacesInsideObjectBrackets": null,
"disallowImplicitTypeConversion": ["string"],
"requireCamelCaseOrUpperCaseIdentifiers": false,
"validateQuoteMarks": false,
"safeContextKeyword": "_this",
"jsDoc": {
"checkAnnotations": "closurecompiler",
"checkParamNames": true,
"requireParamTypes": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"checkTypes": "capitalizedNativeCase",
"checkRedundantAccess": true,
"requireNewlineAfterDescription": true
},
}