diff --git a/js/messaging.js b/js/messaging.js index 1bc6ba9f..dcbc1dd7 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -379,6 +379,8 @@ function onTabReady(tabOrId) { * @returns {Promise} Promise that resolves to the opened/activated tab */ function openURL({ + // https://github.com/eslint/eslint/issues/10639 + // eslint-disable-next-line no-undef url = arguments[0], index, active, diff --git a/manage/manage.js b/manage/manage.js index c74e9e2d..eb190ddc 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -541,7 +541,7 @@ Object.assign(handleEvent, { }); -function handleUpdate(style, {reason, method, codeIsUpdated} = {}) { +function handleUpdate(style, {reason, method} = {}) { if (reason === 'editPreview') return; // the style was toggled and refreshAllTabs() sent a mini-notification, // but we've already processed 'styleUpdated' sent directly from notifyAllTabs()