You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .eslintrc.json
+31-5Lines changed: 31 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,41 @@
12
12
"node": true,
13
13
"es6": true
14
14
},
15
-
"parser": "@typescript-eslint/parser",
16
15
"parserOptions": {
17
-
"sourceType": "script",
16
+
"sourceType": "module",
18
17
"ecmaVersion": 2020
19
18
},
20
19
"overrides": [
20
+
{
21
+
"files": ["*.ts"],
22
+
"parser": "@typescript-eslint/parser",
23
+
"extends": [
24
+
"plugin:@typescript-eslint/eslint-recommended"
25
+
],
26
+
"parserOptions": {
27
+
"//": "NB project is relative to the directory you run eslint from, see https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/parser#parseroptionsproject",
0 commit comments