Hi all,
we recently switched our projects JS-Linting from JSLint to JSHint since it had many advantages for us. So far there is just one thing I miss:
function f() {
}
JSLint was warning that x is defined but never used (which might be a bit short at first sight - but the issue (which I would like to get warned about) is that x is defined and assigned a value but that x is never read). JSHint is not warning about that - did I oversee an option for that or would it be possible to add that as option (or to include it into the unused option)?
Thanks a lot!
Cheers,
schibbi