[Bug]: @babel/eslint-parser
using @babel/plugin-proposal-decorators
errors on class fields with accessor
keyword
#16020
Labels
area: eslint
i: enhancement
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
馃捇
How are you using Babel?
@babel/eslint-parser
Input code
Configuration file name
babel.config.json
Configuration
Current and expected behavior
Stackblitz repro: https://stackblitz.com/edit/stackblitz-starters-jypgau?file=index.js
Notice that
eslint
command produces an error.Expectation is to have no error as this is valid syntax.
The actual compilation with
@babel/cli
works properly and the output runs as expected.Environment
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: