File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,15 @@ You can easily apply it by using one (or both) of the following commands:
28
28
29
29
If you want to run it against ` .js ` or ` .jsx ` files, please use the command below:
30
30
31
- ` npx jscodeshift --extensions=js,jsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/ `
31
+ ```
32
+ npx jscodeshift --extensions=js,jsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/
33
+ ```
32
34
33
35
If you want to run it against ` .ts ` or ` .tsx ` files, please use the command below:
34
36
35
- ` npx jscodeshift --extensions=ts,tsx --parser=tsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/ `
37
+ ```
38
+ npx jscodeshift --extensions=ts,tsx --parser=tsx --transform=./node_modules/react-query/codemods/v4/key-transformation.js ./path/to/src/
39
+ ```
36
40
37
41
Please note in the case of ` TypeScript ` you need to use ` tsx ` as the parser otherwise, the codemod won't be applied properly!
38
42
You can’t perform that action at this time.
0 commit comments