1
+ module . exports = {
2
+ extends : [
3
+ "plugin:@typescript-eslint/recommended" ,
4
+ "plugin:@typescript-eslint/recommended-requiring-type-checking" ,
5
+ "plugin:jest/recommended"
6
+ ] ,
7
+ parser : "@typescript-eslint/parser" ,
8
+ parserOptions : {
9
+ project : "tsconfig.eslint.json" ,
10
+ sourceType : "module" ,
11
+ } ,
12
+ plugins : [
13
+ "jest" ,
14
+ "@typescript-eslint" ,
15
+ "eslint-plugin-deprecation" ,
16
+ "eslint-plugin-import" ,
17
+ ] ,
18
+ rules : {
19
+ "no-sequences" : "error" ,
20
+ "no-param-reassign" : "error" ,
21
+ "no-unused-labels" : "error" ,
22
+ "no-cond-assign" : "error" ,
23
+ "no-new-wrappers" : "error" ,
24
+ "constructor-super" : "error" ,
25
+ "no-duplicate-case" : "error" ,
26
+ "no-redeclare" : "error" ,
27
+ "no-shadow" : [
28
+ "error" ,
29
+ {
30
+ hoist : "all" ,
31
+ } ,
32
+ ] ,
33
+ "no-empty" : [
34
+ "error" ,
35
+ {
36
+ allowEmptyCatch : true ,
37
+ } ,
38
+ ] ,
39
+ "no-invalid-this" : "error" ,
40
+ "no-unsafe-finally" : "error" ,
41
+ "no-var" : "warn" ,
42
+ "no-console" : "off" ,
43
+ "eqeqeq" : [ "warn" , "always" ] ,
44
+ "prefer-const" : "error" ,
45
+ "deprecation/deprecation" : "warn" ,
46
+ "import/no-extraneous-dependencies" : "error" ,
47
+ "import/no-duplicates" : "warn" ,
48
+ "import/no-unassigned-import" : "warn" ,
49
+ "import/no-internal-modules" : "off" ,
50
+ "@typescript-eslint/adjacent-overload-signatures" : "error" ,
51
+ "@typescript-eslint/no-namespace" : "error" ,
52
+ "@typescript-eslint/triple-slash-reference" : [
53
+ "error" ,
54
+ {
55
+ path : "always" ,
56
+ types : "prefer-import" ,
57
+ lib : "always" ,
58
+ } ,
59
+ ] ,
60
+ "@typescript-eslint/no-unnecessary-type-assertion" : "error" ,
61
+ "@typescript-eslint/no-floating-promises" : "error" ,
62
+ "@typescript-eslint/no-throw-literal" : "error" ,
63
+ "@typescript-eslint/no-confusing-void-expression" : "error" ,
64
+ "@typescript-eslint/no-empty-interface" : "warn" ,
65
+ "@typescript-eslint/prefer-for-of" : "warn" ,
66
+ "@typescript-eslint/unified-signatures" : "warn" ,
67
+ "@typescript-eslint/no-unsafe-assignment" : "error"
68
+ } ,
69
+ env : {
70
+ "node" : true ,
71
+ } ,
72
+ }
0 commit comments