Bug 1285936 - Make import-*-globals rules into errors for automation. r=me
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 19 Jul 2016 12:09:34 -0500
changeset 305737 1915421654bdff6c883df496ccd7ad42bc83300f
parent 305736 9131153c7c48c52acaa2a6402c9cfb9250a25d2b
child 305738 c23ff1725f56734958eb2978040ab36f278a6063
push id30467
push usercbook@mozilla.com
push dateWed, 20 Jul 2016 09:21:53 +0000
treeherdermozilla-central@e904e18d7dfc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1285936
milestone50.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 1285936 - Make import-*-globals rules into errors for automation. r=me MozReview-Commit-ID: IrjMIH3fl5K
testing/mochitest/browser.eslintrc
--- a/testing/mochitest/browser.eslintrc
+++ b/testing/mochitest/browser.eslintrc
@@ -1,13 +1,13 @@
 // Parent config file for all browser-chrome files.
 {
   "rules": {
-    "mozilla/import-headjs-globals": 1,
-    "mozilla/import-browserjs-globals": 1,
+    "mozilla/import-headjs-globals": 2,
+    "mozilla/import-browserjs-globals": 2,
   },
 
   "env": {
     "browser": true,
   },
 
   // All globals made available in the test environment.
   "globals": {