Added missing globals object to resolve custom globals in eslintrc.

Fixes Issue #358.