Merge pull request #8641 from Snuffleupagus/eslint-version-4-upgrade
Update ESLint (and eslint-plugin-mozilla) to the latest version
This commit is contained in:
commit
26be1df5f7
@ -59,7 +59,9 @@
|
|||||||
"no-implied-eval": "error",
|
"no-implied-eval": "error",
|
||||||
"no-iterator": "error",
|
"no-iterator": "error",
|
||||||
"no-lone-blocks": "error",
|
"no-lone-blocks": "error",
|
||||||
"no-multi-spaces": "error",
|
"no-multi-spaces": ["error", {
|
||||||
|
"ignoreEOLComments": true,
|
||||||
|
}],
|
||||||
"no-multi-str": "error",
|
"no-multi-str": "error",
|
||||||
"no-new-func": "error",
|
"no-new-func": "error",
|
||||||
"no-new-wrappers": "error",
|
"no-new-wrappers": "error",
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
"babel-preset-es2015": "^6.24.1",
|
||||||
"escodegen": "^1.8.0",
|
"escodegen": "^1.8.0",
|
||||||
"eslint": "^3.19.0",
|
"eslint": "^4.2.0",
|
||||||
"eslint-plugin-mozilla": "^0.2.47",
|
"eslint-plugin-mozilla": "^0.4.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-replace": "^0.5.4",
|
"gulp-replace": "^0.5.4",
|
||||||
|
@ -1293,7 +1293,7 @@ var PDFWorker = (function PDFWorkerClosure() {
|
|||||||
this._initialize();
|
this._initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
PDFWorker.prototype = /** @lends PDFWorker.prototype */ {
|
PDFWorker.prototype = /** @lends PDFWorker.prototype */ {
|
||||||
get promise() {
|
get promise() {
|
||||||
return this._readyCapability.promise;
|
return this._readyCapability.promise;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user