Bug 1270596 - Upgrade to ESLint 2.9.0. r=ahal
authorJ. Ryan Stinnett <jryans@gmail.com>
Thu, 05 May 2016 13:37:18 -0500
changeset 296435 a745ab1bf3bf883c2d02f1badd765f077d2d0445
parent 296434 91faa576bfe4c441d0b319fc2c76e6141cadd912
child 296436 9ef531371d453933f63ad0fd27b53535211c93af
push id30238
push userkwierso@gmail.com
push dateFri, 06 May 2016 22:57:15 +0000
treeherdermozilla-central@70dfd4254cf9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1270596
milestone49.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 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