Enable the no-unsafe-finally
/no-octal
/no-useless-call
ESLint rules
http://eslint.org/docs/rules/no-unsafe-finally, there's just one violation which in this case can actually be ignored since there's nothing `return`ed there. http://eslint.org/docs/rules/no-octal, there're no violations in the code-base. http://eslint.org/docs/rules/no-useless-call, there's just one violation that needs to be fixed.
This commit is contained in:
parent
f8e793f8c2
commit
82ea7e6e6e
@ -36,6 +36,7 @@
|
|||||||
"no-sparse-arrays": "error",
|
"no-sparse-arrays": "error",
|
||||||
"no-unexpected-multiline": "error",
|
"no-unexpected-multiline": "error",
|
||||||
"no-unreachable": "error",
|
"no-unreachable": "error",
|
||||||
|
"no-unsafe-finally": "error",
|
||||||
"no-unsafe-negation": "error",
|
"no-unsafe-negation": "error",
|
||||||
"use-isnan": "error",
|
"use-isnan": "error",
|
||||||
"valid-typeof": ["error", { "requireStringLiterals": true, }],
|
"valid-typeof": ["error", { "requireStringLiterals": true, }],
|
||||||
@ -60,10 +61,12 @@
|
|||||||
"no-new-wrappers": "error",
|
"no-new-wrappers": "error",
|
||||||
"no-new": "error",
|
"no-new": "error",
|
||||||
"no-octal-escape": "error",
|
"no-octal-escape": "error",
|
||||||
|
"no-octal": "error",
|
||||||
"no-redeclare": "error",
|
"no-redeclare": "error",
|
||||||
"no-self-assign": "error",
|
"no-self-assign": "error",
|
||||||
"no-unused-expressions": "error",
|
"no-unused-expressions": "error",
|
||||||
"no-unused-labels": "error",
|
"no-unused-labels": "error",
|
||||||
|
"no-useless-call": "error",
|
||||||
"no-useless-concat": "error",
|
"no-useless-concat": "error",
|
||||||
"wrap-iife": ["error", "any"],
|
"wrap-iife": ["error", "any"],
|
||||||
"yoda": ["error", "never", { "onlyEquality": true, }],
|
"yoda": ["error", "never", { "onlyEquality": true, }],
|
||||||
|
@ -2108,7 +2108,7 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.task.onContinue) {
|
if (this.task.onContinue) {
|
||||||
this.task.onContinue.call(this.task, this._scheduleNextBound);
|
this.task.onContinue(this._scheduleNextBound);
|
||||||
} else {
|
} else {
|
||||||
this._scheduleNext();
|
this._scheduleNext();
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,7 @@
|
|||||||
if (OverlayManager.active === 'printServiceOverlay') {
|
if (OverlayManager.active === 'printServiceOverlay') {
|
||||||
OverlayManager.close('printServiceOverlay');
|
OverlayManager.close('printServiceOverlay');
|
||||||
}
|
}
|
||||||
return;
|
return; // eslint-disable-line no-unsafe-finally
|
||||||
}
|
}
|
||||||
var activeServiceOnEntry = activeService;
|
var activeServiceOnEntry = activeService;
|
||||||
activeService.renderPages().then(function () {
|
activeService.renderPages().then(function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user