Bug 1514809 - Enable userScripts API on release by default r=kmag
[gecko.git] / devtools / .eslintrc.mochitests.js
blob3b93729cc0c393493f7c8e2c201f618fda860a21
1 // Parent config file for all devtools browser mochitest files.
2 module.exports = {
3   "extends": [
4     "plugin:mozilla/browser-test"
5   ],
6   // All globals made available in the test environment.
7   "globals": {
8     "DevToolsUtils": true,
9     "gDevTools": true,
10     "once": true,
11     "synthesizeKeyFromKeyTag": true,
12     "TargetFactory": true,
13     "waitForTick": true,
14     "waitUntilState": true,
15   },
17   "parserOptions": {
18     "ecmaFeatures": {
19       "jsx": true,
20     }
21   },
23   "rules": {
24     // Allow non-camelcase so that run_test doesn't produce a warning.
25     "camelcase": "off",
26     // Tests can always import anything.
27     "mozilla/reject-some-requires": 0,
28   },