devtools/.eslintrc.mochitests
author Nicholas Nethercote <nnethercote@mozilla.com>
Wed, 10 Aug 2016 10:04:11 +1000
changeset 310548 08d20351a75460e22d4c1957d2c0e076b291700c
parent 306494 eb5d2f565ba413cc423e35c93e1c1df67dfe1317
permissions -rw-r--r--
Bug 1293596 (part 7) - Make nsIWidget::Destroy infallible. r=karlt.

// 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,
  },
}