Bug 1344690 - Fix an issue with 'Environment key "mozilla/simpletest" is unknown' when running eslint on some mochitests. r=jaws
authorMark Banner <standard8@mozilla.com>
Mon, 06 Mar 2017 12:29:49 +0000
changeset 346093 6bf15db3f159e885a8ca70d6d803e5dbce77f10a
parent 346092 98a314e77d6cb3325acdbfbd5a724227d8e46c9f
child 346094 e3c420b74eb9b74a6a7cc30176a8e5df69e60978
push id31459
push usercbook@mozilla.com
push dateTue, 07 Mar 2017 14:05:14 +0000
treeherdermozilla-central@1fb56ba248d5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1344690
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1344690 - Fix an issue with 'Environment key "mozilla/simpletest" is unknown' when running eslint on some mochitests. r=jaws MozReview-Commit-ID: Fs27kXDh4Ht
testing/mochitest/mochitest.eslintrc.js
--- a/testing/mochitest/mochitest.eslintrc.js
+++ b/testing/mochitest/mochitest.eslintrc.js
@@ -6,16 +6,20 @@ module.exports = {
     "no-shadow": "error",
   },
 
   "env": {
     "browser": true,
     "mozilla/simpletest": true,
   },
 
+  "plugins": [
+    "mozilla"
+  ],
+
   // All globals made available in the test environment.
   "globals": {
     // `$` is defined in SimpleTest.js
     "$": false,
     "add_task": false,
     "addLoadEvent": false,
     "Assert": false,
     "EventUtils": false,