-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
74 lines (74 loc) · 1.6 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
69
70
71
72
73
74
{
"root": true,
"parser": "@typescript-eslint/parser",
"env": {
//"browser": true,
"node": true
},
"plugins": ["@typescript-eslint", "security", "xss"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:security/recommended",
"plugin:no-unsanitized/DOM",
"prettier"
],
"ignorePatterns": [
"shardus-types.ts",
"Wrapper.ts",
"Utils.ts",
"Template.ts",
"Sync.ts",
"SafetyMode.ts",
"Refresh.ts",
"NodeList.ts",
"Lost.ts",
"GlobalAccounts.ts",
"CycleCreator.ts",
"CycleChain.ts",
"CycleAutoScale.ts",
"Context.ts",
"Comms.ts",
"Archivers.ts",
"Apoptosis.ts",
"Active.ts",
"debugMiddleware.ts",
"debug.ts",
"config.test.ts",
"computePowGenerator.ts",
"**/storage/index.ts",
"**/statistics/index.ts",
"**/snapshot/index.ts",
"**/shardus/index.ts",
"**/reporter/index.ts",
"**/rate-limiting/index.ts",
"**/random/index.ts",
"**/network/index.ts",
"**/logger/index.ts",
"**/load-detection/index.ts",
"**/src/index.ts",
"**/http/index.ts",
"**/exit-handler/index.ts",
"AccountPatcher.ts",
"CachedAppDataManager.ts",
"iterables.ts",
"rotation.ts",
"**/src/state-manager/PartitionStats.ts",
"**/src/state-manager/index.ts"
],
"rules": {
"no-empty": [
1,
{
"allowEmptyCatch": true
}
],
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true
}
]
}
}