Support for if, else, else if without block
Brought to you by:
mvladic
I'm new to javascript and jslint but found jslint to be very helpful in flushing out simple typos which could be potential errors. I would like the following to be added.
1) Support for else if. jslint expects a block {} after an else.
2) Support for single line commands following if, else if or else. jslint expects a block {}.
3) Support for single line if (e.g. if( x == 10 ) return; jslint expects a block (.e.g. if( x == 10 ) { return; }).
4) Support single parameter for parseInt. Get error messaage "Missing radix parameter".
5) For some reason get an error message "Unecessary 'else' after disruption." (e.g. if( x == 10 ) { return x; } else if {} else {})