Rule: no-catch-shadow

The `no-catch-shadow` rule disallows a catch clause parameter with the same name as a variable in the outer scope. IE 8 and earlier will leak the catch clause parameter into the outer scope and overwrite the outer scope variable value.

var err = "x";

try {
    throw "problem";
} catch (err) {

}

console.log(err)    // err is 'problem', not 'x'

This rule matches JSHint rule W002.
Merge pull request #286 from iancmyers/rule-ie-catch-leak

Rule: ie-catch-leak