atom / markdown-preview

📝 Markdown preview in Atom
MIT License
1.23k stars 357 forks source link

Decaffeinate package source files #558

Closed rafeca closed 5 years ago

rafeca commented 5 years ago

Steps followed to decaffeinate the files:

  1. Use https://decaffeinate-project.org to convert coffeescript to JS.
  2. Address all suggestions manually.
  3. Run prettier-standard to make the code follow our JS linting rules.
rafeca commented 5 years ago

Thanks for pointing out the unneeded returns, I initially removed most of them but when I spent almost an hour debugging a test failure due to a couple of Promises that were not returned and therefore not awaited I decided to leave a lot of returns hehe

I've now removed all the ones that are unneeded.