devtools/.eslintrc.mochitests
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Tue, 20 Oct 2015 04:28:14 -0700
changeset 303754 980e0646e0ce02e93577f61e831734b3ae2cc5a9
parent 300463 4fd815c46a675085b7bb23fdd1cd91bf875cda19
child 309278 9a90fc88892fb4103c4cef14037997b4703e506f
permissions -rw-r--r--
Bumping manifests a=b2g-bump

// Parent config file for all devtools browser mochitest files.
{
  "rules": {
    // Only disallow non-global unused vars, so that head.js does not produce
    // errors.
    "no-unused-vars": [2, {"vars": "local"}]
  },
  // All globals made available in the test environment.
  "globals": {
    "add_task": true,
    "Assert": true,
    "BrowserTestUtils": true,
    "content": true,
    "document": true,
    "EventUtils": true,
    "executeSoon": true,
    "export_assertions": true,
    "finish": true,
    "gBrowser": true,
    "gDevTools": true,
    "getRootDirectory": true,
    "getTestFilePath": true,
    "gTestPath": true,
    "info": true,
    "is": true,
    "isnot": true,
    "navigator": true,
    "ok": true,
    "promise": true,
    "registerCleanupFunction": true,
    "requestLongerTimeout": true,
    "setTimeout": true,
    "SimpleTest": true,
    "SpecialPowers": true,
    "todo": true,
    "todo_is": true,
    "todo_isnot": true,
    "waitForClipboard": true,
    "waitForExplicitFinish": true,
    "waitForFocus": true,
    "window": true,
  }
}