Alright, I left all the comments that we're there and only linted + refactor to const/let.
There are probably a few commented console.log/commented out code that could be removed.
I didn't rebuild index or bundle.
I disabled "vars-on-top": 0, in order to keep the code as it was, but we can enable it if you want. I personally prefer the way the code is right now (with vars declared where they are used)
closes #5 #6
Alright, I left all the comments that we're there and only linted + refactor to const/let.
There are probably a few commented console.log/commented out code that could be removed.
I didn't rebuild index or bundle.
I disabled
"vars-on-top": 0,
in order to keep the code as it was, but we can enable it if you want. I personally prefer the way the code is right now (with vars declared where they are used)