Building up on #127 , I've added a bunch of tests for JSX and JavaScript files, and then fixed the problems that were there.
The main issues were:
Improper query inheritance. ecma was not used but defined some useful patterns. javascript reimplemented some of ecma.
Missing jsx node types in javascript levels
Read commit messages for more context on these changes.
I've cleaned up the code and fixed these problems. Now the inheritance should be cleaner and there should not unused files in the inheritance hierarchy.
Building up on #127 , I've added a bunch of tests for JSX and JavaScript files, and then fixed the problems that were there.
The main issues were:
ecma
was not used but defined some useful patterns.javascript
reimplemented some ofecma
.jsx
node types injavascript
levelsRead commit messages for more context on these changes.
I've cleaned up the code and fixed these problems. Now the inheritance should be cleaner and there should not unused files in the inheritance hierarchy.
This fixes #126
Real-life results in JS(X?) files
extended.jsx
extended.js
Test results
All tests are passing :rocket: