forked from elementor/elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
32 lines (31 loc) · 960 Bytes
/
.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
{
"preset": "jquery",
"requireDotNotation": {
"allExcept": ["snake_case", "keywords"]
},
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": true,
"maximumLineLength": null,
"requireVarDeclFirst": false,
"requireSpaceAfterPrefixUnaryOperators": ["!"],
"requireSpacesInsideBrackets": null,
"requireSpacesInsideParentheses": {
"all": true,
"except": [ "{", "}", "[", "]", "function" ]
},
"requireYodaConditions": ["==", "!=", "===", "!=="],
"validateQuoteMarks": "'",
"requireCapitalizedComments": false,
"requirePaddingNewLinesBeforeLineComments": false,
"requireCamelCaseOrUpperCaseIdentifiers": { "ignoreProperties": true },
"requireBlocksOnNewline": true,
"disallowMultipleLineBreaks": true,
"disallowNewlineBeforeBlockStatements": true,
"excludeFiles": [
"./assets/lib/**/*.js",
"./assets/js/*.js",
"**/*.min.js",
"**/node_modules/**",
"**/vendor/**"
]
}