This repository was archived by the owner on Apr 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
43 lines (43 loc) · 1.37 KB
/
.eslintrc.json
File metadata and controls
43 lines (43 loc) · 1.37 KB
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
{
"root": true,
"extends": "airbnb-base",
"env": {
"es6": true
},
"rules": {
"import/no-unresolved": "off",
"indent": ["error", 4, { "SwitchCase": 1, "VariableDeclarator": 1 }],
"func-names": "off",
"no-plusplus": "off",
"require-jsdoc": "off",
"valid-jsdoc": ["warn", { "preferType": { "Boolean": "boolean", "Number": "number", "object": "Object", "String": "string" }, "requireReturn": false}],
"vars-on-top": "off",
"global-require": "off",
"no-shadow": ["error", { "allow": ["err", "callback"]}],
"max-len": "off",
"operator-linebreak": "error",
"no-else-return": "error",
"no-param-reassign": ["error", { "props": false }],
"no-multiple-empty-lines": ["error", {"max": 1, "maxEOF": 1, "maxBOF": 1 } ],
"prefer-destructuring": "off",
"no-dynamic-require": "off",
"prefer-spread": "off",
"prefer-rest-params": "off",
"no-underscore-dangle": "off",
"import/extensions": "off",
"no-use-before-define": "off"
},
"globals" : {
"session": true,
"request": true,
"response": true,
"customer": true,
"empty": true,
"webreferences": true,
"webreferences2": true,
"PIPELET_NEXT": true,
"PIPELET_ERROR": true,
"XML": true,
"dw": true
}
}