-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
💻
- Would you like to work on a fix?
How are you using Babel?
@babel/eslint-parser
Input code
import babelParser from "@babel/eslint-parser";
export default [
{
files: ["**/*.js"],
languageOptions: {
parser: babelParser,
}
}
];Configuration file name
No response
Configuration
{}Current and expected behavior
With ESLint 10, getting the error:
TypeError: scopeManager.addGlobals is not a function
Expect no errors.
Environment
- Babel version: 7.29.0
- Node: 22.16.0
- npm/Yarn version: 11.8.0
- OS: MacOS 26.2
- Monorepo: no
Possible solution
Fix @nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1 to use higher eslint-scope dependency and include ESLint 10 in peerDependencies
Additional context
We're actually trying to update eslint-plugin-jsdoc to support ESLint 10 but would depend on @babel/eslint-parser working with ESLint 10 in our tests.
Thanks!
Reactions are currently unavailable