-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
43 lines (41 loc) · 1.1 KB
/
.eslintrc.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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"env": {
"node": true,
"es6": true
},
"rules": {
"comma-dangle": 0,
"no-undef": "error",
"curly": ["error", "multi-line"]
},
"overrides": [
{
"files": ["**/*.test.ts", "**/__mocks__/**/*.ts", "**/jest.setup.ts"],
"env": {
"jest": true
},
"plugins": ["jest"],
"rules": {
"node/no-unpublished-require": 0,
"node/no-missing-require": 0,
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0
}
}
]
}