-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do some simple batch find/replace es6 conversions? #1010
Comments
Sure, but... why? |
Sounds like it would save time to do it in one batch? |
If all require statements were It also seems like energy that is never worth thinking about/spending, ever again. doing it on a file by file basis is likely X times less efficient, where X is the number of files, as it will take 30 seconds to change all usages. 30 seconds X 2744 (number of usages of |
Discussed at dev meeting: 09/19/19 This is a time saver. @zepumph go ahead with this addition. Taking this a bit further means enabling the no-var lint rule and auto fix the failed cases. We suspect auto-fix will change var to const/let and if it can’t fix it will leave var. @zepumph will take a go at this. |
I committed the top two above. I will attempt to use the |
I have spend a noticeable amount of time converting files to es6. In general this is about 5 steps. Some of these could be done across the project in a batch find replace, here are the ones I've thought of. Does this seem like something worth doing on the whole? Marking for a last minute dev meeting.
The text was updated successfully, but these errors were encountered: