Bug 1257246: Update the version of eslint that mach installs. r=gps
MozReview-Commit-ID: mcb4QwtM96
This commit is contained in:
@@ -224,7 +224,7 @@ class MachCommands(MachCommandBase):
|
|||||||
# Note that that's the version currently compatible with the mozilla
|
# Note that that's the version currently compatible with the mozilla
|
||||||
# eslint plugin.
|
# eslint plugin.
|
||||||
success = self.callProcess("eslint",
|
success = self.callProcess("eslint",
|
||||||
[npmPath, "install", "eslint@1.10.3", "-g"])
|
[npmPath, "install", "eslint@2.7.0", "-g"])
|
||||||
if not success:
|
if not success:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
@@ -237,13 +237,13 @@ class MachCommands(MachCommandBase):
|
|||||||
|
|
||||||
# Install eslint-plugin-html.
|
# Install eslint-plugin-html.
|
||||||
success = self.callProcess("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:
|
if not success:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
# Install eslint-plugin-react.
|
# Install eslint-plugin-react.
|
||||||
success = self.callProcess("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:
|
if not success:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user