mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.83k stars 32.26k forks source link

Codemod preset-safe should be support ignore paths option #31338

Open hieusmiths opened 2 years ago

hieusmiths commented 2 years ago

Duplicates

Latest version

Summary 💡

Many developers will run code mod like this one: npx @mui/codemod v5.0.0/preset-safe src. Of course in the src, we will have service/data-interface/bussiness logic or some project will have any folder generated from remote. So I think we should have an option to ignore it. Maybe It can have code mod run faster.

Examples 🌈

npx @mui/codemod v5.0.0/preset-safe src --ignore=paths

Motivation 🔦

No response

siriwatknp commented 2 years ago

I'd say if it does not block you from achieving the result, let's wait for upvotes before we add the option.