This repository has been archived by the owner on Nov 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
60 lines (60 loc) · 2.84 KB
/
tslint.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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"ban": [
true,
{
"name": ["assert", "equal"],
"message": "Use 'strictEqual' instead."
},
{
"name": ["*", "forEach"],
"message": "Use a regular for loop instead."
}
],
"await-promise": true,
"no-console": false,
"no-default-export": true,
"no-null-keyword": true,
"no-shadowed-variable": false,
"object-literal-sort-keys": false,
"only-arrow-functions": true,
"radix": false,
"return-undefined": true,
"no-floating-promises": true
},
"linterOptions": {
"exclude": [
"packages/core-api/src/handlers/transactions/controller.ts",
"packages/core-api/src/server.ts",
"packages/core-blockchain/src/blockchain.ts",
"packages/core-blockchain/src/processor/handlers/unchained-handler.ts",
"packages/core-blockchain/src/replay/replay-blockchain.ts",
"packages/core-forger/src/manager.ts",
"packages/core-p2p/src/network-monitor.ts",
"packages/core-p2p/src/peer-communicator.ts",
"packages/core-p2p/src/socket-server/payload-processor.ts",
"packages/core-p2p/src/socket-server/versions/peer.ts",
"packages/core-p2p/src/socket-server/worker.ts",
"packages/core/src/commands/config/cli.ts",
"packages/core/src/commands/update.ts",
"packages/core-magistrate-transactions/src/handlers/bridgechain-registration.ts",
"packages/core-magistrate-transactions/src/handlers/bridgechain-resignation.ts",
"packages/core-magistrate-transactions/src/handlers/bridgechain-update.ts",
"packages/core-magistrate-transactions/src/handlers/business-registration.ts",
"packages/core-magistrate-transactions/src/handlers/business-resignation.ts",
"packages/core-magistrate-transactions/src/handlers/business-update.ts",
"packages/core-transactions/src/handlers/delegate-registration.ts",
"packages/core-transactions/src/handlers/htlc-claim.ts",
"packages/core-transactions/src/handlers/htlc-lock.ts",
"packages/core-transactions/src/handlers/htlc-refund.ts",
"packages/core-transactions/src/handlers/ipfs.ts",
"packages/core-transactions/src/handlers/multi-payment.ts",
"packages/core-transactions/src/handlers/transaction.ts",
"packages/core-transactions/src/handlers/transfer.ts",
"__tests__/integration/core-transaction-pool/processor.test.ts",
"__tests__/unit/core-utils/tree.test.ts",
"__tests__/integration/core-api/handlers/entities.test.ts"
]
}
}