-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
33 lines (33 loc) · 892 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
{
"extends": ["@galtproject/eslint-config-galt", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"env": {
"node": true,
"mocha": true
},
"globals": {
"web3": true,
"assert": true,
"artifacts": true,
"contract": true
},
"rules": {
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"import/no-extraneous-dependencies": [2, {"devDependencies": ["**/*.js"]}],
"max-len": [2, { "code": 120, "ignoreComments": true }],
"import/named": "off",
"no-console": "off",
"func-names": "off",
"no-underscore-dangle": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"printWidth": 120
}
]
},
"parserOptions": {
"ecmaVersion": 2017
}
}