mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Update ESLint (and eslint-plugin-mozilla) to the latest version
This commit is contained in:
parent
2cef24a2ad
commit
6f3565e638
3 changed files with 6 additions and 4 deletions
|
@ -59,7 +59,9 @@
|
|||
"no-implied-eval": "error",
|
||||
"no-iterator": "error",
|
||||
"no-lone-blocks": "error",
|
||||
"no-multi-spaces": "error",
|
||||
"no-multi-spaces": ["error", {
|
||||
"ignoreEOLComments": true,
|
||||
}],
|
||||
"no-multi-str": "error",
|
||||
"no-new-func": "error",
|
||||
"no-new-wrappers": "error",
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"escodegen": "^1.8.0",
|
||||
"eslint": "^3.19.0",
|
||||
"eslint-plugin-mozilla": "^0.2.47",
|
||||
"eslint": "^4.2.0",
|
||||
"eslint-plugin-mozilla": "^0.4.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-replace": "^0.5.4",
|
||||
|
|
|
@ -1293,7 +1293,7 @@ var PDFWorker = (function PDFWorkerClosure() {
|
|||
this._initialize();
|
||||
}
|
||||
|
||||
PDFWorker.prototype = /** @lends PDFWorker.prototype */ {
|
||||
PDFWorker.prototype = /** @lends PDFWorker.prototype */ {
|
||||
get promise() {
|
||||
return this._readyCapability.promise;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue