-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
43 lines (43 loc) · 825 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
33
34
35
36
37
38
39
40
41
42
43
{
"parser": "babel-eslint",
"extends": ["eslint:recommended", "prettier"],
"plugins": ["prettier"],
"env": {
"es6": true,
"node": true,
"mocha": true,
"jasmine": true
},
"globals": {
"window": true,
"assert": true,
"web3": false,
"artifacts": false,
"contract": false
},
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"classes": true
},
"sourceType": "module"
},
"rules": {
"prettier/prettier": [
"error",
{ "printWidth": 80, "singleQuote": true, "semi": false }
],
"no-console": 0,
"quotes": ["error", "single"],
"no-extra-semi": ["error"],
"semi": 0,
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": false
}
]
}
}