eslint/eslint — pull request #964 by jrajav (2014-06-06 21:33:29+00:00)
Title: Fix: Fixes no-unused-vars to check /*globals*/ (Fixes #955)

Fixes #955.

This changes the default back to the correct `"all"` for the **no-unused-vars** rule; it had been set to `"locals"` at some point.

It also augments the rule (which according to @nzakas should have been there all along, thus this is a Fix) to check for unused explicitly declared globals via `--global` or `/* global */`. This probably never worked before, since the plumbing wasn't really in place.