mirror of
https://github.com/google/blockly.git
synced 2025-12-13 04:40:09 +01:00
Update eslint.config.mjs
Try process.cwd() since __dirname doesn't exist.
This commit is contained in:
@@ -60,7 +60,7 @@ function buildTSOverride({files, tsconfig}) {
|
||||
'sourceType': 'module',
|
||||
parserOptions: {
|
||||
'project': tsconfig,
|
||||
'tsconfigRootDir': __dirname,
|
||||
'tsconfigRootDir': process.cwd(),
|
||||
},
|
||||
globals: {
|
||||
...globals.browser,
|
||||
|
||||
Reference in New Issue
Block a user