Skip to content

Commit 51df0f2

Browse files
authored
Update eslint.config.mjs
Try process.cwd() since __dirname doesn't exist.
1 parent 9c27d7e commit 51df0f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function buildTSOverride({files, tsconfig}) {
6060
'sourceType': 'module',
6161
parserOptions: {
6262
'project': tsconfig,
63-
'tsconfigRootDir': __dirname,
63+
'tsconfigRootDir': process.cwd(),
6464
},
6565
globals: {
6666
...globals.browser,

0 commit comments

Comments
 (0)