Bug 1257246: Update the version of eslint that mach installs. r=gps

MozReview-Commit-ID: mcb4QwtM96
This commit is contained in:
Dave Townsend
2016-03-17 10:58:12 -07:00
parent ac28a6408a
commit b99c8e31ad

View File

@@ -224,7 +224,7 @@ class MachCommands(MachCommandBase):
# Note that that's the version currently compatible with the mozilla
# eslint plugin.
success = self.callProcess("eslint",
[npmPath, "install", "eslint@1.10.3", "-g"])
[npmPath, "install", "eslint@2.7.0", "-g"])
if not success:
return 1
@@ -237,13 +237,13 @@ class MachCommands(MachCommandBase):
# Install eslint-plugin-html.
success = self.callProcess("eslint-plugin-html",
[npmPath, "install", "eslint-plugin-html", "-g"])
[npmPath, "install", "eslint-plugin-html@1.4.0", "-g"])
if not success:
return 1
# Install eslint-plugin-react.
success = self.callProcess("eslint-plugin-react",
[npmPath, "install", "eslint-plugin-react", "-g"])
[npmPath, "install", "eslint-plugin-react@4.2.3", "-g"])
if not success:
return 1