forked from witnet/witnet-solidity-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 748 Bytes
/
.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
{
"extends": ["standard"],
"env": {
"browser": false,
"node": true,
"jest": true,
"mocha": true
},
"globals" : {
"artifacts": false,
"contract": false,
"assert": false,
"web3": false
},
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"indent": ["error", 2, {"SwitchCase": 1 }],
"jsx-quotes": [2, "prefer-double"],
"prefer-promise-reject-errors": 0,
"quotes": [2, "double"],
"import/export": 0,
"no-useless-constructor": 1,
"handle-callback-err": 1,
"max-len" : ["error", { "code": 120 }]
}
}