4
4
"es6": true,
5
5
"mocha": true
6
6
},
7
+ "parserOptions": {
8
+ "project": "./tsconfig.json"
9
+ },
7
10
"parser": "@typescript-eslint/parser",
8
- "plugins": ["@typescript-eslint", "prettier"],
11
+ "plugins": [
12
+ "@typescript-eslint",
13
+ "prettier"
14
+ ],
9
15
"extends": [
10
- "standard ",
16
+ "eslint:recommended ",
11
17
"plugin:@typescript-eslint/recommended",
18
+ "plugin:@typescript-eslint/recommended-requiring-type-checking",
12
19
"plugin:import/errors",
13
20
"plugin:import/warnings",
14
21
"plugin:import/typescript",
27
34
"no-dupe-class-members": "off",
28
35
"@typescript-eslint/no-dupe-class-members": "error",
29
36
"no-empty-function": "off",
30
- "@typescript-eslint/no-empty-function": ["error"],
37
+ "@typescript-eslint/no-empty-function": [
38
+ "error"
39
+ ],
31
40
"@typescript-eslint/no-empty-interface": "off",
32
41
"@typescript-eslint/no-explicit-any": "error",
33
42
"@typescript-eslint/no-non-null-assertion": "off",
53
62
"class-methods-use-this": [
54
63
"error",
55
64
{
56
- "exceptMethods": ["dispose"]
65
+ "exceptMethods": [
66
+ "dispose"
67
+ ]
57
68
}
58
69
],
59
70
"func-names": "off",
63
74
"import/no-unresolved": [
64
75
"error",
65
76
{
66
- "ignore": ["monaco-editor", "vscode"]
77
+ "ignore": [
78
+ "monaco-editor",
79
+ "vscode"
80
+ ]
67
81
}
68
82
],
69
83
"import/prefer-default-export": "off",
101
115
],
102
116
"operator-assignment": "off",
103
117
"strict": "off",
104
- "prettier/prettier": ["error"]
118
+ "prettier/prettier": [
119
+ "error"
120
+ ]
105
121
}
106
- }
122
+ }
0 commit comments