Fix: Make sure no-unused-vars doesn't get confused by nested functions (fixes #584)
Merge pull request #603 from eslint/unused-fix

Fix: Make sure no-unused-vars doesn't get confused by nested functions (fixes #584)