Open
Description
💻
- Would you like to work on a fix?
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Configuration file name
.babelrc
Configuration
{
"presets": [
["@babel/env", {
"targets": {
"browsers": ["last 2 versions", "ie > 9"]
}
}]
]
}
Current and expected behavior
Currently getting an error when using eslint complaining about the trailing whitespace on AudioWorkletGlobalScope
traced it back to multiple babel packages
https://github.com/babel/babel/blob/main/packages/babel-traverse/package.json#L25
Environment
- Babel version 7.27.1
- Node version 22.14.0
- NPM version 10.9.2
- Windows 11
Possible solution
Updating ^11.1.0
to ^13.12.1
in order to resolve the AudioWorkletGlobalScope
trailing whitespace issue.
Additional context
No response