Conversation
wolfeidau
commented
Jan 11, 2017
- Fixed comparison operators, some where not safe in JS
- Removed extra escape character in regex
- Small change to console to log to avoid unneeded string concatenation.
- Superfulous whitespace
* Fixed comparison operators, some where not safe in JS * Removed extra escape character in regex * Small change to console to log to avoid unneeded string concatenation. * Superfulous whitespace
|
Thanks, i'll review this shortly! |
|
Hi @wolfeidau were you able to test the changes to the console regex and if statements? |
|
Thanks for taking a look, happy to update this ticket once I have it running in my dev account. Just as a bit of background I normally just run eslint over any nodejs project prior to deploying it, in this case I have just fixed the main things. In this case your "close" to semistandard layout so I use that assess the codebase. Also If you want to produce this then just run. In my case I just focused on the more common issues in the list below, I try to avoid messing with peoples layout too much. I would suggest just running https://github.com/Flet/semistandard as a baseline for these files either in your editor or prior to pushing, the Hopefully that helps. |
|
Hey @wolfeidau I did run it though eslint via jetbrains IDE and it didn't pick those up for some reason. probably an issue with the eslint config or i was using more relaxed rules. Anyway we will do a quick test to make sure the console output works fine then merge |