🐛 Wrong error message when using JSX in a non-JSX file #2085
Labels
A-Parser
Area: parser
L-JavaScript
Language: JavaScript and super languages
S-Enhancement
Status: Improve an existing feature
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Environment information
What happened?
https://biomejs.dev/playground/?code=ZgB1AG4AYwB0AGkAbwBuACAAZgAoACkAIAB7AAoAIAAgAHIAZQB0AHUAcgBuACAAPABkAGkAdgAvAD4AOwAKAH0A&typescript=false&jsx=false&script=true
Expected result
It should print a better error message.
Code of Conduct
The text was updated successfully, but these errors were encountered: