-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
61 lines (61 loc) · 1.77 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
52
53
54
55
56
57
58
59
60
61
{
"parser": "@typescript-eslint/parser",
"root": true,
"env": {
"es6": true,
"node": true,
"jest/globals": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"prettier",
"jest",
"import"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"rules": {
"no-console": "error",
"prettier/prettier": "error",
"require-atomic-updates": "off",
"no-constant-condition": "off",
"no-prototype-builtins": "off",
"no-unreachable": "error",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-unused-vars": [2, { "ignoreRestSiblings": true, "argsIgnorePattern": "^_" }],
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"jest/valid-expect-in-promise": "off",
"jest/no-identical-title": "off",
"jest/no-try-expect": "off",
"jest/expect-expect": "off",
"jest/no-standalone-expect": "off",
"jest/valid-describe": "off",
"import/no-cycle": "error",
"import/no-useless-path-segments": "error",
"import/no-self-import": "error",
"import/no-mutable-exports": "error",
"import/no-deprecated": "error",
"import/export": "error"
}
}