eslint: Enable no-extra-parens rule.

Following sub-configuration is disabled:
                "nestedBinaryExpressions": false,
This commit is contained in:
Shubham Dhama
2018-06-06 21:49:09 +05:30
committed by showell
parent c14d17b35b
commit dcb6254a4e
62 changed files with 141 additions and 136 deletions

View File

@@ -35,7 +35,7 @@ exports.open = function ($process) {
$("[data-process]").hide();
var should_show_notifications = (
var should_show_notifications =
// notifications *basically* don't work on any mobile platforms, so don't
// event show the banners. This prevents trying to access things that
// don't exist like `Notification.permission`.
@@ -44,7 +44,7 @@ exports.open = function ($process) {
!notifications.granted_desktop_notifications_permission() &&
// if permission is allowed to be requested (e.g. not in "denied" state).
notifications.permission_state() !== "denied"
);
;
if (localstorage.supported()) {
// if the user said to never show banner on this computer again, it will