Skip to content

Commit e0154a4

Browse files
committed
Use tsParser to work around crash
1 parent 05d9080 commit e0154a4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

eslint.config.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const globalIgnoresFromFile = fs
2828
/** @type {import('@eslint/config-helpers').ConfigWithExtends} */
2929
const config = {
3030
languageOptions: {
31-
parser: babelParser,
31+
parser: tsParser,
3232
sourceType: "module",
3333
globals: {
3434
jasmine: false,
@@ -37,6 +37,13 @@ const config = {
3737
},
3838
},
3939

40+
settings: {
41+
"import/resolver": {
42+
node: true,
43+
typescript: true,
44+
},
45+
},
46+
4047
plugins: {
4148
jest,
4249
},

0 commit comments

Comments
 (0)