-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.eslintrc
48 lines (48 loc) · 1.21 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
41
42
43
44
45
46
47
48
{
"env": {
"es6": true,
},
"globals": {
"describe": false,
"suite": false,
"test": false,
"expect": false,
"jest": false,
"afterEach": false,
"it": false,
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
},
"extends": "airbnb-base",
"rules": {
"import/no-unresolved": 0,
"import/no-duplicates": 0,
"import/extensions": 0,
"import/no-named-as-default-member": 0,
"import/first": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"import/no-named-as-default": 0,
"new-cap": 0,
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"no-param-reassign": 0,
"no-use-before-define": [0],
"no-plusplus": 0,
"no-bitwise": 0,
"max-len": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never",
}],
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
"class-methods-use-this": 0,
"no-mixed-operators": 0,
"no-underscore-dangle": [0],
"no-prototype-builtins": 0,
}
}