forked from layerx-labs/dappkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (45 loc) · 991 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
44
45
46
{
"parser": "@typescript-eslint/parser",
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"indent-legacy": ["error", 2, {
"FunctionDeclaration": {
"parameters": "first"
},
"ObjectExpression": "first",
"ArrayExpression": "first",
"CallExpression": {
"arguments": "first"
}
}],
"no-prototype-builtins": 0,
"no-return-await": 2,
"camelcase": 0,
"no-underscore-dangle": 0,
"class-methods-use-this": 1,
"no-unused-vars": 1,
"complexity": ["error", 4],
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true
}
],
"no-console": ["error", {"allow": ["error", "log"]}],
"no-undef": 1,
"eqeqeq": 1,
"function-paren-newline": [
"error",
"never"
],
"function-call-argument-newline": [
"error",
"consistent"
]
},
"env": {
"browser": true,
"es2021": true
}
}