Rule: no-shadowed-variable

Disallows shadowing variable declarations.

Rationale

Shadowing a variable masks access to it and obscures to what value an identifier actually refers.

Config

Not configurable.

Examples
"no-shadowed-variable": true
Schema
null