-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
33 lines (33 loc) · 949 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/ban-types": ["error",
{
"types": {
"object": false
},
"extendDefaults": true
}
],
"no-console": 1, // 0 = Off, 1 = Warn (pass), 2 = Error (fail)
"prefer-promise-reject-errors": 1,
"no-extra-parens": 0,
"no-loss-of-precision": 1,
"no-promise-executor-return":1,
"no-unreachable-loop": 1,
"no-template-curly-in-string": 1,
"no-unsafe-optional-chaining": 1,
"no-useless-backreference": 1,
"require-atomic-updates": 1,
"no-await-in-loop": 1
}
}