From 4e77741d22778bd09b772fc53f1cbd64107e3d24 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 16 Feb 2024 19:37:01 -0500 Subject: Even more eslint rules (#696) * capitalized-comments * Turn rules on * Add miscellaneous rules * More rules --- ext/js/pages/permissions-main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/js/pages') diff --git a/ext/js/pages/permissions-main.js b/ext/js/pages/permissions-main.js index 17169c12..3be97b78 100644 --- a/ext/js/pages/permissions-main.js +++ b/ext/js/pages/permissions-main.js @@ -43,14 +43,14 @@ async function setupEnvironmentInfo(api) { * @returns {Promise} */ async function isAllowedIncognitoAccess() { - return await new Promise((resolve) => chrome.extension.isAllowedIncognitoAccess(resolve)); + return await new Promise((resolve) => { chrome.extension.isAllowedIncognitoAccess(resolve); }); } /** * @returns {Promise} */ async function isAllowedFileSchemeAccess() { - return await new Promise((resolve) => chrome.extension.isAllowedFileSchemeAccess(resolve)); + return await new Promise((resolve) => { chrome.extension.isAllowedFileSchemeAccess(resolve); }); } /** -- cgit v1.2.3