.eslintrc.mochitests.js 486 B

123456789101112131415161718192021
  1. // Parent config file for all devtools browser mochitest files.
  2. module.exports = {
  3. "extends": [
  4. "../testing/mochitest/browser.eslintrc.js"
  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. },
  15. "rules": {
  16. // Tests can always import anything.
  17. "mozilla/reject-some-requires": 0,
  18. },
  19. };