Skip to content

Commit

Permalink
[codemod] Allow json files to be transformed (#40536)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Jan 15, 2024
1 parent 6230d78 commit 9d7a370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-codemod/codemod.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function runTransform(transform, files, flags, codemodFlags) {
transformerPath,
...codemodFlags,
'--extensions',
'js,ts,jsx,tsx',
'js,ts,jsx,tsx,json',
'--parser',
flags.parser || 'tsx',
'--ignore-pattern',
Expand Down

0 comments on commit 9d7a370

Please sign in to comment.