forked from TokenySolutions/T-REX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
38 lines (38 loc) · 1.07 KB
/
.eslintrc.json
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
{
"extends": ["eslint-config-airbnb-base", "prettier"],
"env": {
"node": true,
"mocha": true
},
"globals": {
"expect": true,
"artifacts": true,
"contract": true
},
"plugins": ["prettier", "security", "chai-friendly"],
"rules": {
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": 0,
"chai-friendly/no-unused-expressions": 2,
"comma-dangle": ["error", "always-multiline"],
"dot-notation": 0,
"function-paren-newline": 0,
"max-len": ["error", { "code": 150 }],
"no-confusing-arrow": 0,
"no-console": 0,
"no-else-return": 0,
"no-multiple-empty-lines": ["error", { "max": 3 }],
"no-param-reassign": 0,
"no-unused-expressions": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-use-before-define": 0,
"object-curly-newline": ["error", { "consistent": true }],
"object-shorthand": 0,
"padded-blocks": 0,
"prefer-destructuring": 0,
"prettier/prettier": "error",
"quote-props": ["error", "as-needed"],
"strict": 0,
"no-undef": "off"
}
}