-
Notifications
You must be signed in to change notification settings - Fork 114
/
.eslintrc.json
68 lines (68 loc) · 1.61 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint-config-airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"env": {
"node": true,
"mocha": true
},
"globals": {
"expect": true,
"artifacts": true,
"contract": true
},
"plugins": [
"prettier",
"security",
"@typescript-eslint",
"chai-friendly"
],
"settings": {
"import/resolver": {
"typescript": {},
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"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",
"no-await-in-loop": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}