mirror of
https://github.com/google/blockly.git
synced 2025-12-15 13:50:08 +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',
|
'sourceType': 'module',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
'project': tsconfig,
|
'project': tsconfig,
|
||||||
'tsconfigRootDir': __dirname,
|
'tsconfigRootDir': process.cwd(),
|
||||||
},
|
},
|
||||||
globals: {
|
globals: {
|
||||||
...globals.browser,
|
...globals.browser,
|
||||||
|
|||||||
Reference in New Issue
Block a user