Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work alongside @babel/eslint-parser #18

Closed
birdofpreyru opened this issue Nov 1, 2021 · 1 comment
Closed

Does not work alongside @babel/eslint-parser #18

birdofpreyru opened this issue Nov 1, 2021 · 1 comment
Assignees
Labels
P4 No need to touch, if no other work necessary on related code.

Comments

@birdofpreyru
Copy link
Owner

@babel/eslint-parser@7.16.0 fails in projects using babel-preset-svgr (this) preset. I currently belive, it is an oversight on Babel's side, and the issue ticket is raised: babel/babel#13915. Waiting for comments in there to decide what can be done.

For now a functional workaround is to rely on the deprecated legacy parser babel-eslint, which still seems to work fine with the latest Babel and ESLint@7.

@birdofpreyru birdofpreyru added the P2 Important. Nice to have improvements and optimizations. label Nov 1, 2021
@birdofpreyru birdofpreyru self-assigned this Nov 1, 2021
@birdofpreyru birdofpreyru added In Progress Somebody is working on the issue P4 No need to touch, if no other work necessary on related code. and removed P2 Important. Nice to have improvements and optimizations. labels Nov 2, 2021
@birdofpreyru
Copy link
Owner Author

Confirmed to be a regression in @babel/eslint-parser, it should be fixed in the next release (babel/babel#13918).

@birdofpreyru birdofpreyru removed the In Progress Somebody is working on the issue label Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P4 No need to touch, if no other work necessary on related code.
Projects
None yet
Development

No branches or pull requests

1 participant