Bug 1303469 - Initial formautofill .eslintrc. r=rhelmer
☠☠ backed out by 9fcea68f98ef ☠ ☠
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Fri, 16 Sep 2016 16:39:51 -0700
changeset 314275 86b10c4dce3bbfc3fc42daa1d0f21f8433e1c0f9
parent 314274 03f631f0fca7d908f954d3a36faa18d087b28212
child 314276 42fd3f718fdc630d75b21776c1b18df399ed925f
push id30717
push userphilringnalda@gmail.com
push dateSat, 17 Sep 2016 20:38:05 +0000
treeherdermozilla-central@b3aa1f62ce68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrhelmer
bugs1303469
milestone51.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 1303469 - Initial formautofill .eslintrc. r=rhelmer MozReview-Commit-ID: 9EwAhB3galN
browser/extensions/formautofill/.eslintrc
browser/extensions/formautofill/bootstrap.js
browser/extensions/formautofill/test/browser/.eslintrc
copy from toolkit/components/extensions/.eslintrc
copy to browser/extensions/formautofill/.eslintrc
--- a/toolkit/components/extensions/.eslintrc
+++ b/browser/extensions/formautofill/.eslintrc
@@ -1,34 +1,16 @@
 {
   "extends": "../../.eslintrc",
 
   "globals": {
-    "Cc": true,
-    "Ci": true,
     "Components": true,
-    "Cr": true,
-    "Cu": true,
     "dump": true,
     "TextDecoder": false,
     "TextEncoder": false,
-    // Specific to WebExtensions:
-    "Extension": true,
-    "ExtensionManagement": true,
-    "extensions": true,
-    "global": true,
-    "NetUtil": true,
-    "openOptionsPage": true,
-    "require": false,
-    "runSafe": true,
-    "runSafeSync": true,
-    "runSafeSyncWithoutClone": true,
-    "Services": true,
-    "TabManager": true,
-    "XPCOMUtils": true,
   },
 
   "rules": {
     // Rules from the mozilla plugin
     "mozilla/balanced-listeners": 2,
     "mozilla/mark-test-function-used": 1,
     "mozilla/no-aArgs": 1,
     "mozilla/no-cpows-in-tests": 1,
--- a/browser/extensions/formautofill/bootstrap.js
+++ b/browser/extensions/formautofill/bootstrap.js
@@ -1,10 +1,12 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
+/* exported startup, shutdown, install, uninstall */
+
 function startup() {}
 function shutdown() {}
 function install() {}
 function uninstall() {}
new file mode 100644
--- /dev/null
+++ b/browser/extensions/formautofill/test/browser/.eslintrc
@@ -0,0 +1,5 @@
+{
+  "extends": [
+    "../../../../../testing/mochitest/browser.eslintrc"
+  ]
+}