Open Gert-dev opened 6 years ago
My fix for "atom" not being recognized is a /* global atom */
at the top of the file. I also tend to also specify global
itself as a global /* global global atom */
, that way I can do thing like global.setTimeout
without ESLint complaining. Other items like console.log
I do on a per-line basis so as not to leave forgotten debug/dev helpers in the code.
Using the decaffeinate project the initial code has been converted to JavaScript (see #375 or 293eb2020bfe781e96235167c74b20ed6dc41295). This is just the first step however, as there are other things to do: