Skip to content

Instantly share code, notes, and snippets.

@barmatz
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save barmatz/9c46f2e6ea7705ca5939 to your computer and use it in GitHub Desktop.

Select an option

Save barmatz/9c46f2e6ea7705ca5939 to your computer and use it in GitHub Desktop.
JSHint Jasmine globals
Inline JavaScript comment:
/*global jasmine, describe, xdescribe, it, xit, expect, beforeEach, afterEach, pending, spyOn*/
Configuration file:
{
"globals": {
"jasmine": true,
"describe": true,
"xdescribe": true,
"it": true,
"xit": true,
"expect": true,
"beforeEach": true,
"afterEach": true,
"pending": true,
"spyOn": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment