I have Javascript Lint set up to carry out syntax checking in vim, and when I have a statement such as
if (i > 0){
i--;
};
It generates the following warning
test.js|160 warning| empty statement or extra semicolon
I thought that it is best to always end statements with semicolons (see here). It's not issuing an error, but why the warning? How can I change this. I don't countless warnings when I am looking for legitimate warnings.