Create an --update command for rules changes #2420
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
triage
An ESLint team member will look at this issue soon
Once #2382 lands, it will be easier to add ESLint to a project. Could something similar be done for users updating from one version to another? As mentioned in #2203 (comment), the process is not always the most straightforward, mostly because of rules and options being added/changed. It would be great if this process could be smoothed out.
I propose that an
eslint --update
command could be added which would use inquirer similarly to the--init
command to upgrade ESLint to the latest version and let users know what rules have been added and then ask them whether they would like to enable them (in the .eslintrc in current directory, perhaps?). Additionally, once #2179 lands, new options in existing rules could also be presented to the user.The final result could look something like:
I've no idea if this is really possible or wise, but something like this sure would be nice to have (from a user's perspective)!
The text was updated successfully, but these errors were encountered: