-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
51 lines (51 loc) · 1.07 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"root": true,
"plugins": ["prettier"],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"env": {
"node": true,
"commonjs": true,
"es2021": true
},
"globals": {
"NodeJS": true,
"Express": true
},
"rules": {
"no-unused-vars": 0,
"no-async-promise-executor": 0,
"no-case-declarations": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0
},
"overrides": [
{
"plugins": ["jest"],
"extends": ["plugin:jest/recommended"],
"files": [
"tests/**/*.spec.ts",
"tests/setup-*.ts",
"tests/teardown-*.ts"
],
"env": {
"jest": true
},
"rules": {
"jest/no-disabled-tests": 0,
"jest/no-focused-tests": 0,
"jest/no-identical-title": 0,
"jest/prefer-to-have-length": 0,
"jest/valid-expect": 0
}
}
]
}