Yesterday I started using Syntastic and JShint. It seems to be working ok, detecting missing semicolons or maybe an missing parenthesis etc. But if I try to call a function that isn't defined or if there is a typo in the function call, I get no errors. Example:
function addElement(e) {
...
}
addElmen(foobar);
This obvious spelling error isn't detected. The same goes for varaibles and arguments.
function fooBar(firstArgument) {
console.log(fritArgument);
}
I would like this to be flagged as an unused argument and using an undefined variable.
Any ideas on why and how to fix this?