Closed HummingMind closed 4 months ago
As mentioned in the README:
Note: This package is frozen except for critical bug fixes as ESLint moves to a new config system.
There is a bug in the globals ^14.0.0 required by this package causing eslint to fail:
npx eslint
Oops! Something went wrong! :(
ESLint: 9.9.1
TypeError: Key "languageOptions": Key "globals": Global "AudioWorkletGlobalScope " has leading or trailing whitespace.
at [finalizeConfig] (xxx\node_modules\eslint\lib\config\flat-config-array.js:350:23)
at FlatConfigArray.getConfigWithStatus (xxx\node_modules\@eslint\config-array\dist\cjs\index.cjs:1102:55)
at FlatConfigArray.getConfig (xxx\node_modules\@eslint\config-array\dist\cjs\index.cjs:1120:15)
at xxx\node_modules\eslint\lib\eslint\eslint-helpers.js:354:54
at xxx\node_modules\eslint\lib\eslint\eslint-helpers.js:296:32
at Object.isAppliedFilter (xxx\node_modules\@nodelib\fs.walk\out\readers\common.js:12:31)
at AsyncReader._handleEntry (xxx\node_modules\@nodelib\fs.walk\out\readers\async.js:86:20)
at xxx\node_modules\@nodelib\fs.walk\out\readers\async.js:65:22
at callSuccessCallback (xxx\node_modules\@nodelib\fs.scandir\out\providers\async.js:103:5)
at xxx\node_modules\@nodelib\fs.scandir\out\providers\async.js:29:13
It has been fixed in globals 15.0.0
Ah, apparently we have to install the globals
package by manually, as stated here: https://github.com/eslint/eslint/pull/18356
Please update "globals" dependency to ^15.0.0
Thank you!