-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
32 lines (32 loc) · 765 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"env": {
"node": true
},
"plugins": [
"@typescript-eslint",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:jest/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-unused-vars": 2,
"@typescript-eslint/explicit-function-return-type": 2,
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/adjacent-overload-signatures": 1,
"@typescript-eslint/await-thenable": 1,
"complexity": ["error", 3],
"max-depth": ["error", 3],
"max-nested-callbacks": ["error", 3],
"max-statements": ["error", 5]
}
}