-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
31 lines (31 loc) · 846 Bytes
/
.eslintrc.json
File metadata and controls
31 lines (31 loc) · 846 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
{
"extends": "airbnb-base",
"globals": {
"$config": true,
"$container":true,
"$log": true,
"$logger": true,
"$enum": true,
"document": true
},
"rules":{
"key-spacing": ["error", {"beforeColon": true, "afterColon": true, "align": "colon"}],
"no-multi-spaces": ["error", { "ignoreEOLComments": true,"exceptions": { "BinaryExpression": true,"ImportDeclaration": true,"VariableDeclarator": true } }],
"space-before-function-paren": ["error", "always"],
"max-len": ["error", 140],
"space-in-parens": ["error", "always"],
"no-underscore-dangle": 0,
"camelcase" : 0,
"no-this-before-super":"off",
"no-await-in-loop":"off",
"no-console":"off"
},
"env": {
"node": true,
"es2020": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 11
}
}