devtools/.eslintrc.mochitests
author Jim Chen <nchen@mozilla.com>
Wed, 14 Sep 2016 12:46:50 -0400
changeset 355257 61e6762b20d0fa6f64b61e9ee2fe4adaa9417a20
parent 346515 eb5d2f565ba413cc423e35c93e1c1df67dfe1317
permissions -rw-r--r--
Bug 1291384 - 2. Convert GeckoProfile.getDB calls to BrowserDB.from calls; r=nalexander Mass convert GeckoProfile.getDB() calls to BrowserDB.from() calls, whether using Context or GeckoProfile.

// Parent config file for all devtools browser mochitest files.
{
  "extends": [
    "../testing/mochitest/browser.eslintrc"
  ],
  // All globals made available in the test environment.
  "globals": {
    "DevToolsUtils": true,
    "gDevTools": true,
    "once": true,
    "synthesizeKeyFromKeyTag": true,
    "TargetFactory": true,
    "waitForTick": true,
  },

  "rules": {
    // Tests can always import anything.
    "mozilla/reject-some-requires": 0,
  },
}