Bug 1513636 - Temporarily turn off ESlint rule mozilla/reject-importGlobalProperties for dom/. r=mossop
authorMark Banner <standard8@mozilla.com>
Wed, 12 Dec 2018 19:04:35 +0000
changeset 450335 e1f0ae02afeb8fcf90e2aa42fb3084bbb58fdf16
parent 450334 2f2453dca7bea997e4780d771da0704f83698079
child 450336 002907f3b577b9ec1f339c85896f1d1d2983ab06
push id110479
push usercsabou@mozilla.com
push dateThu, 13 Dec 2018 04:02:11 +0000
treeherdermozilla-inbound@3ecc407c0cc8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmossop
bugs1513636
milestone66.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 1513636 - Temporarily turn off ESlint rule mozilla/reject-importGlobalProperties for dom/. r=mossop Differential Revision: https://phabricator.services.mozilla.com/D14292
.eslintrc.js
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -34,10 +34,17 @@ module.exports = {
       "browser/base/content/urlbarBindings.xml",
       "browser/components/search/content/search.xml",
       "browser/components/translation/translation-infobar.xml",
       "toolkit/components/prompts/content/tabprompts.xml"
     ],
     "env": {
       "mozilla/browser-window": true
     }
+  }, {
+    // TODO: Bug 1513639. Temporarily turn off reject-importGlobalProperties
+    // due to other ESLint enabling happening in DOM.
+    "files": "dom/**",
+    "rules": {
+      "mozilla/reject-importGlobalProperties": "off",
+    }
   }]
 };