Recently I converted my cucumber-autocomplete plugin from coffeescript to ES6. Here are 3 steps to convert an atom plugin to ES6:
- Rename .coffee files to .js files
- Add ‘use babel‘; to the top of all of your JS files. This will enable babel and allow you to use ES6
- Convert your coffeescript code into JS. You can either use a coffee-js converter (like js2coffee) or you can do it by hand. I chose to convert the files by hand, so that I would have a better understanding of the code.
Finally, here is the diff for the cucumber-autocomplete upgrade.