1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 08:08:07 +02:00

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:
Jonas Jenwald 2017-01-21 17:08:25 +01:00
parent f8e793f8c2
commit 82ea7e6e6e
3 changed files with 5 additions and 2 deletions

View file

@ -237,7 +237,7 @@
if (OverlayManager.active === 'printServiceOverlay') {
OverlayManager.close('printServiceOverlay');
}
return;
return; // eslint-disable-line no-unsafe-finally
}
var activeServiceOnEntry = activeService;
activeService.renderPages().then(function () {