forked from CoinAlpha/basket-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
40 lines (40 loc) · 1.01 KB
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"rules": {
"comma-dangle" : ["error"],
"no-console": "off",
"no-multi-spaces": ["error", { ignoreEOLComments: true }],
"no-return-assign": "off",
"no-unused-vars": ["off", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
"max-len": ["error", {"code": 150}],
"prefer-destructuring": ["off", {
"array": true,
"object": true
}],
"arrow-body-style": "off",
"no-console": "off",
"no-underscore-dangle": "off",
"object-curly-newline": "off",
"one-var": "off",
"one-var-declaration-per-line": "off",
"no-buffer-constructor": "off",
"no-await-in-loop": "off",
},
"globals": {
"after": true,
"afterEach": true,
"artifacts" : true,
"assert" : true,
"before" : true,
"beforeEach" : true,
"contract": true,
"describe": true,
"xdescribe": true,
"dataFeed": true,
"getBal": true,
"it" : true,
"radix": true,
"web3" : true,
"xit" : true,
}
};