astx icon indicating copy to clipboard operation
astx copied to clipboard

Super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

Results 8 astx issues
Sort by recently updated
recently updated
newest added

great work @jedwards1211 here. which use cases cannot be handled by astx? have you heard about semgrep? (they have data flow analysis, and built on top of tree-sitter) also grit.io...

Unfortunately babel doesn't put `leadingComments` on `x` in this case...

bug

Hello. I think this tool is the best thing since sliced bread. However, it is a bit unconfrotable to have to install it globally and then run it from the...

Right now `astx` uses babel to parse and generate JS and TS. It would be nice to use typescript's own toolchain for parsing and generating. I'm not likely to have...

enhancement

Both parts of expression: ```js const nodeTypes = Array.isArray(matcher.nodeType) ? matcher.nodeType : matcher.nodeType ``` Returns same result, and can be simplified to: ```js matcher.nodeType ``` Just landed this case to...

https://github.com/babel/babel/issues/11216