Add support for JSX extension
What does this MR do and why?
This maps .jsx
file to JavaScript tree-sitter-javascript
parser. Files with .jsx
extension is currently being excluded from prompt processing since it is not mapped to any of the code parser. We can see this issue by looking at the missing language label for jsx
extension in Grafana.
tree-sitter-javascript
parser is already capable of parsing JSX content.
Edited by Tan Le