Browse Source

Update ESLint (and eslint-plugin-mozilla) to the latest version

Jonas Jenwald 8 years ago
parent
commit
6f3565e638
  1. 4
      .eslintrc
  2. 4
      package.json
  3. 2
      src/display/api.js

4
.eslintrc

@ -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",

4
package.json

@ -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",

2
src/display/api.js

@ -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…
Cancel
Save