forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
34 lines (34 loc) · 1.07 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
{
"extends": ["tslint:latest", "tslint-react", "tslint-react-hooks", "tslint-config-prettier"],
"rulesDirectory": [
"../../../node_modules/tslint-eslint-rules/dist/rules",
"../../../node_modules/tslint-microsoft-contrib",
"./custom-rules"
],
"rules": {
"no-eval": true,
"no-duplicate-switch-case": true,
"no-reference": true,
"no-duplicate-super": true,
"member-access": false,
"no-implicit-dependencies": false,
"interface-name": false,
"no-submodule-imports": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": false,
"no-var-requires": false,
"no-console": [true, "log"],
"variable-name": {
"options": ["allow-leading-underscore", "allow-pascal-case"]
},
"no-constant-condition": [true, { "checkLoops": false }],
"no-extra-boolean-cast": true,
"no-ex-assign": true,
"no-inner-declarations": [true, "functions"],
"no-for-in": true,
"void-zero": false,
"no-global-arrow-functions": true,
"no-floating-promises": true,
"no-promise-as-boolean": true
}
}