From d581bffa15419b3b55773f1ed08a2e787e574f1f Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 2 May 2020 13:04:17 -0400 Subject: Style fixes (#494) * Place multi-line expression parentheses on the correct line * Add function-paren-newline eslint rule * Add some additional eslint rules --- ext/bg/js/backend.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/bg/js') diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index ed01c8df..43fa8190 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -896,7 +896,9 @@ class Backend { await Backend._focusTab(tab); if (queryParams.query) { await new Promise((resolve) => chrome.tabs.sendMessage( - tab.id, {action: 'searchQueryUpdate', params: {text: queryParams.query}}, resolve + tab.id, + {action: 'searchQueryUpdate', params: {text: queryParams.query}}, + resolve )); } return true; -- cgit v1.2.3