-
Notifications
You must be signed in to change notification settings - Fork 103
/
.eslintrc
40 lines (40 loc) · 1 KB
/
.eslintrc
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
{
"extends": ["airbnb-base"],
"plugins": [
"import",
"promise"
],
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"Npm": true
},
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-underscore-dangle": [2, {
"allow": ["_id", "_outputSeqNo", "_queueOrderNo", "_skipOutput", "_retryCount", "_crashesCount", "_pageFailed", "_pageCrashed"],
"allowAfterThis": true
}],
"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,
"arrow-parens": ["error", "always"],
"no-restricted-syntax": 0,
"no-console": 0
}
}