Fixing no-unused-var and no-redeclare
Merge pull request #455 from ilyavolodin/no-unused-var

Fixing no-unused-var and no-redeclare (Fixes #310)