-
Since #237, transformers can be async.
However testing such transformers using `defineInlineTest` doesn't appear to be supported, and from the code also looks like it won't be suppored by any type …
-
Is it possible to create an async ArrowFunctionExpression? I'm using `jscodeshift` to modify some code, and I need to create a variable declaration with this signature:
``const doSomethingAsync = asy…
-
I have never used jscodeshift, but have identified it as being potentially useful for a couple of simple use cases.
For example, I would like to change an object literal in code.
Before:
```j…
-
This should work:
``` js
const findReactCreateClassExportDefault = path =>
path
.find(j.ExportDefaultDeclaration, {
type: 'ExportDefaultDeclaration',
declaration: {
…
-
Have default setting that will preview the changes before committing them. This view should be similar to the find all buffer and being able to navigate those changes with clicks or keyboard shortcuts…
-
While doing the codemod via jscodeshift API, I get the error as below.
![Screenshot 2022-04-21 at 2 51 05 PM](https://user-images.githubusercontent.com/100947190/164432337-275b1185-3329-4fda-8ebb…
-
Looking over a number of the issues that have been reported in the last several months, one of the things that would help the issues get resolved faster is if there was more information that could be …
-
input: `useCallback(event => {})`
current output: `useCallback(event: any => {})`
expect output: `useCallback((event: any) => {})`
It should add a brackets in this condition
-
### What is the problem?
As the title says, if you use the --js argument when initializing a new project, blitz install fails since it can't compile the recipes with Typescript.
### Paste all yo…
-
When I do `jscodeshift -t https://rawgit.com/rondale-sc/es5-getter-ember-codemod/master/es5-getter-ember-codemod.js ./app` I have a `404: Not Found` error. I tried `yarn global add es5-getter-ember-co…