-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
36 lines (36 loc) · 1.03 KB
/
.eslintrc.json
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
{
"extends": ["airbnb-base"],
"plugins": [
"import"
],
"env": {
"node": true,
"browser": true,
"jest": true
},
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-underscore-dangle": [2, {
"allow": ["_id", "_outputSeqNo", "_queueOrderNo", "_skipOutput", "_retryCount", "_crashesCount", "_pageFailed", "_pageCrashed"],
"allowAfterThis": true
}],
"no-use-before-define": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"array-callback-return": 0,
"no-plusplus": 0,
"max-len": ["error", 150],
"func-names": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/prefer-default-export": 0,
"import/no-unresolved": 0,
"class-methods-use-this": 0,
"strict": 0,
"object-curly-newline": 0,
"no-await-in-loop": 0,
"arrow-body-style": 0,
"import/no-named-as-default": 0,
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"no-prototype-builtins": 1
}
}