They haven’t answered this yet, so I decided that I’m updating everyone who lands here from Google.
Now you can do this without explicitly defining globals at the top of each javascript file using the .eslintrc file in the root of your C9 project. You can see the documentation for this here on the eslint website.
In your use case, your .eslintrc file would look something like this:
{ "globals": { "_": false } }
Assigning it to false means that linter will warn you when you try to overwrite the global one. Setting it to true will allow you to reassign the global one. Javascript will allow you to do this anyway, this parameter only affects the behavior of linter.
source share