eslint / rewrite

Monorepo for the new version of ESLint
Apache License 2.0
65 stars 4 forks source link

Change Request: Better support migrating JS config files #64

Open nzakas opened 1 week ago

nzakas commented 1 week ago

Which packages would you like to change?

What problem do you want to solve?

Right now, migrate-config just takes the evaluated version of a .eslintrc.js file and converts that. While that works fine for mostly static .eslintrc.js files, it's not a good solution for complicated ones.

What do you think is the correct solution?

Ideally, we'd be able to do some code modifications via something like jscodeshift to update a .eslintrc.js file. This would likely be a different code path than for static config files.

Participation

Additional comments

I don't have the bandwidth to take this on, so looking for a volunteer to investigate this.