Fixing lint warnings and errors
I guess it's good to have an issue for that to discuss what lint options we should be using. This problem is tightly related with what style of writing we should all strive for. What I suggest is creating a "Style guide" wiki page and referencing to it in the README or somewhere else for people who want to contribute.
What I would suggest is using strict mode. Currently, it is set to false, but I can only see advantages from using it. Here's more about strict mode - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode
P.S.: I started removing warnings and I'm pretty much done. Near the end a problem occurred. It seems that SublimeLinter uses a newer version of jshint than grunt. So I started investigating. It seems that there is a lot newer version of grunt-contrib-jshint (0.6.4 is latest while we're using 0.4.3). So, is there a reason for that?
closing this one as it's 99,9% done, remaining one are a bit tricky are need more attention.
thank you again @nvlbg !