Bug 1270596 - Upgrade to ESLint 2.9.0. r=ahal draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Thu, 05 May 2016 13:37:18 -0500
changeset 363855 abf599012bbc38d18230be49c0697b1f1a74a761
parent 363468 217746cce0e6db6caf838fb91fbccdce44746cca
child 363856 9d9a529f44d6b3eb2eea6f85e1ac7c2fe0bb8b51
push id17324
push userbmo:jryans@gmail.com
push dateThu, 05 May 2016 18:48:59 +0000
reviewersahal
bugs1270596
milestone49.0a1
Bug 1270596 - Upgrade to ESLint 2.9.0. r=ahal MozReview-Commit-ID: IylFUWf1HVG
python/mach_commands.py
testing/docker/lint/Dockerfile
--- a/python/mach_commands.py
+++ b/python/mach_commands.py
@@ -265,21 +265,21 @@ class MachCommands(MachCommandBase):
         eslint for optimal use on Mozilla projects.
         """
         sys.path.append(os.path.dirname(__file__))
 
         npmPath = self.getNodeOrNpmPath("npm")
         if not npmPath:
             return 1
 
-        # Install eslint 1.10.3.
+        # Install eslint.
         # Note that that's the version currently compatible with the mozilla
         # eslint plugin.
         success = self.callProcess("eslint",
-                                   [npmPath, "install", "eslint@2.8.0", "-g"])
+                                   [npmPath, "install", "eslint@2.9.0", "-g"])
         if not success:
             return 1
 
         # Install eslint-plugin-mozilla.
         success = self.callProcess("eslint-plugin-mozilla",
                                    [npmPath, "link"],
                                    "testing/eslint-plugin-mozilla")
         if not success:
--- a/testing/docker/lint/Dockerfile
+++ b/testing/docker/lint/Dockerfile
@@ -1,17 +1,17 @@
 FROM          node:4.2
 MAINTAINER    Dave Townsend <dtownsend@oxymoronical.com>
 
 RUN useradd -d /home/worker -s /bin/bash -m worker
 WORKDIR /home/worker
 
 # install necessary npm packages
 RUN           npm install -g taskcluster-vcs@2.3.12
-RUN           npm install -g eslint@2.8.0
+RUN           npm install -g eslint@2.9.0
 RUN           npm install -g eslint-plugin-html@1.4.0
 RUN           npm install -g eslint-plugin-react@4.2.3
 
 # Set variable normally configured at login, by the shells parent process, these
 # are taken from GNU su manual
 ENV           HOME          /home/worker
 ENV           SHELL         /bin/bash
 ENV           USER          worker