summaryrefslogtreecommitdiff
path: root/devtools/.eslintrc.mochitests.js
blob: 6805c2000f98e6347a9ddd62f8ed1c424fec8733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Parent config file for all devtools browser mochitest files.
module.exports = {
  "extends": [
    "../testing/mochitest/browser.eslintrc.js"
  ],
  // 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,
  },
};