Bug 1279515 - Update ESLint plugin version after rule change. r=jdescottes
MozReview-Commit-ID: ECSIVMfsGHL
--- 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.0.3",
+ "version": "0.1.0",
"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/manifest.tt
+++ b/tools/lint/eslint/manifest.tt
@@ -1,9 +1,9 @@
[
{
-"size": 2373126,
+"size": 2373564,
"visibility": "public",
-"digest": "c37113493a8f638fd32b5926cdf4066d32ee65b9425465593233a19c3915e38c37463cae1cb229722a3b61a837d999cd7f6b0beee41ddcadedc22da85cd2a7cd",
+"digest": "192130b9d8b14cfaa6446b978ed4073e9a0c603cfa6d43b55c4afda6cf625d125b78554d369be7ada3d48150dc30b2287a0954c9f66098560e0308d1a4ee7a60",
"algorithm": "sha512",
"filename": "eslint.tar.gz"
}
]
--- 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.0.3",
+ "version": "0.1.0",
"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/eslint/update
+++ b/tools/lint/eslint/update
@@ -33,17 +33,17 @@ case "$choice" in
esac
echo ""
echo "Removing node_modules and npm_shrinkwrap.json..."
rm -rf node_modules/
rm npm-shrinkwrap.json
echo "Installing eslint and dependencies..."
-../../mach eslint --setup
+../../../mach eslint --setup
echo "Creating npm shrinkwrap..."
npm shrinkwrap
echo "Creating eslint.tar.gz..."
tar cvfz eslint.tar.gz node_modules
echo "Downloading tooltool..."
--- a/tools/lint/mach_commands.py
+++ b/tools/lint/mach_commands.py
@@ -28,17 +28,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.0.3",
+ "eslint-plugin-mozilla@0.1.0",
"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: