I have a Javascript Lint configured to check syntax in vim, and when I have a statement like
if (i > 0){ i--; };
It generates the following warning
test.js|160 warning| empty statement or extra semicolon
I thought it was best to always end statements with a semicolon (see here ). This is not a mistake, but why a warning? How can I change that. I do not have countless warnings when I look for legal warnings.
source share