Bug 1285936 - eslint mozilla plugin: fix filename in import globals & bump to 0.1.1 draft
authorJulian Descottes <jdescottes@mozilla.com>
Mon, 11 Jul 2016 14:32:46 +0200
changeset 386242 809600593f962e32d4db04f2120cc062706f209e
parent 386240 8f80e6e64a015c1b112765bd39a208c962f46824
child 525060 a5e54fbd8b1f298d7107d460df64a7835d7ee52a
push id22649
push userjdescottes@mozilla.com
push dateMon, 11 Jul 2016 12:38:23 +0000
bugs1285936
milestone50.0a1
Bug 1285936 - eslint mozilla plugin: fix filename in import globals & bump to 0.1.1 The file base/content/browser-fullScreen.js was renamed. This patch updates the reference to this filename in the esling rule import-browserjs-globals.js and bumps the version to 0.1.1. MozReview-Commit-ID: 9hibfDnbtp
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
tools/lint/eslint/eslint-plugin-mozilla/package.json
tools/lint/eslint/npm-shrinkwrap.json
tools/lint/mach_commands.py
--- a/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
+++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
@@ -30,17 +30,17 @@ const SCRIPTS = [
   "browser/components/customizableui/content/panelUI.js",
   "toolkit/obsolete/content/inlineSpellCheckUI.js",
   "toolkit/components/viewsource/content/viewSourceUtils.js",
   "browser/base/content/browser-addons.js",
   "browser/base/content/browser-ctrlTab.js",
   "browser/base/content/browser-customization.js",
   "browser/base/content/browser-devedition.js",
   "browser/base/content/browser-feeds.js",
-  "browser/base/content/browser-fullScreen.js",
+  "browser/base/content/browser-fullScreenAndPointerLock.js",
   "browser/base/content/browser-fullZoom.js",
   "browser/base/content/browser-gestureSupport.js",
   "browser/base/content/browser-media.js",
   "browser/base/content/browser-places.js",
   "browser/base/content/browser-plugins.js",
   "browser/base/content/browser-refreshblocker.js",
   "browser/base/content/browser-safebrowsing.js",
   "browser/base/content/browser-sidebar.js",
--- a/tools/lint/eslint/eslint-plugin-mozilla/package.json
+++ b/tools/lint/eslint/eslint-plugin-mozilla/package.json
@@ -1,11 +1,11 @@
 {
   "name": "eslint-plugin-mozilla",
-  "version": "0.1.0",
+  "version": "0.1.1",
   "description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
   "keywords": [
     "eslint",
     "eslintplugin",
     "eslint-plugin",
     "mozilla",
     "firefox"
   ],
--- a/tools/lint/eslint/npm-shrinkwrap.json
+++ b/tools/lint/eslint/npm-shrinkwrap.json
@@ -222,17 +222,17 @@
       "resolved": "https://registry.npmjs.org/eslint/-/eslint-2.9.0.tgz"
     },
     "eslint-plugin-html": {
       "version": "1.4.0",
       "from": "eslint-plugin-html@1.4.0",
       "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-1.4.0.tgz"
     },
     "eslint-plugin-mozilla": {
-      "version": "0.1.0",
+      "version": "0.1.1",
       "from": "eslint-plugin-mozilla",
       "resolved": "file:eslint-plugin-mozilla",
       "dependencies": {
         "espree": {
           "version": "2.2.5",
           "from": "espree@>=2.2.4 <3.0.0",
           "resolved": "https://registry.npmjs.org/espree/-/espree-2.2.5.tgz"
         }
--- a/tools/lint/mach_commands.py
+++ b/tools/lint/mach_commands.py
@@ -27,17 +27,17 @@ from mach.decorators import (
 
 
 here = os.path.abspath(os.path.dirname(__file__))
 
 
 ESLINT_PACKAGES = [
     "eslint@2.9.0",
     "eslint-plugin-html@1.4.0",
-    "eslint-plugin-mozilla@0.1.0",
+    "eslint-plugin-mozilla@0.1.1",
     "eslint-plugin-react@4.2.3"
 ]
 
 ESLINT_NOT_FOUND_MESSAGE = '''
 Could not find eslint!  We looked at the --binary option, at the ESLINT
 environment variable, and then at your local node_modules path. Please Install
 eslint and needed plugins with: