Skip to content

Commit 848a96a

Browse files
authored
Merge pull request #164 from graphprotocol/feat/disputes
[WIP] feat: Disputes
2 parents 623500b + d531654 commit 848a96a

31 files changed

+6019
-10181
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build/
2+
node_modules/
3+
truffle.js

.eslintrc

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"extends": ["standard", "plugin:promise/recommended"],
3+
"plugins": ["mocha-no-only", "promise"],
4+
"env": {
5+
"browser": true,
6+
"node": true,
7+
"mocha": true,
8+
"jest": true
9+
},
10+
"globals": {
11+
"artifacts": false,
12+
"contract": false,
13+
"assert": false,
14+
"web3": false
15+
},
16+
"rules": {
17+
// Strict mode
18+
"strict": ["error", "global"],
19+
20+
// Code style
21+
"array-bracket-spacing": ["off"],
22+
"camelcase": ["error", { "properties": "always" }],
23+
"comma-dangle": ["error", "always-multiline"],
24+
"comma-spacing": ["error", { "before": false, "after": true }],
25+
"dot-notation": ["error", { "allowKeywords": true, "allowPattern": "" }],
26+
"eol-last": ["error", "always"],
27+
"eqeqeq": ["error", "smart"],
28+
"generator-star-spacing": ["error", "before"],
29+
"indent": ["error", 2],
30+
"linebreak-style": ["error", "unix"],
31+
"max-len": ["warn", 120, 2],
32+
"no-debugger": "off",
33+
"no-dupe-args": "error",
34+
"no-dupe-keys": "error",
35+
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
36+
"no-redeclare": ["error", { "builtinGlobals": true }],
37+
"no-trailing-spaces": ["error", { "skipBlankLines": false }],
38+
"no-undef": "error",
39+
"no-use-before-define": "off",
40+
"no-var": "error",
41+
"object-curly-spacing": ["error", "always"],
42+
"prefer-const": "error",
43+
"quotes": ["error", "single"],
44+
"semi": ["error", "never"],
45+
"space-before-function-paren": [
46+
"error",
47+
{
48+
"anonymous": "ignore",
49+
"named": "ignore",
50+
"asyncArrow": "ignore"
51+
}
52+
],
53+
54+
"mocha-no-only/mocha-no-only": ["error"],
55+
56+
"promise/always-return": "off",
57+
"promise/avoid-new": "off"
58+
},
59+
"parserOptions": {
60+
"ecmaVersion": 2018
61+
}
62+
}

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ before_install:
2222
- npm install -g ganache-cli [email protected]
2323

2424
install:
25-
- npm install
25+
- npm install
2626

2727
script:
28-
- ganache-cli &
29-
- truffle test
28+
- ganache-cli -d -l 9900000 -i 9545 &
29+
- truffle test

0 commit comments

Comments
 (0)