From b249627434d3a94420ac4d98c3ce720767e57b43 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 16 Dec 2023 20:04:56 -0500 Subject: Update eslint spacing rules (#366) * Add space-infix-ops rule * Add no-multi-spaces --------- Co-authored-by: Darius Jahandarie --- ext/js/script/dynamic-loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js/script') diff --git a/ext/js/script/dynamic-loader.js b/ext/js/script/dynamic-loader.js index 75bf7b8b..8fdb77e9 100644 --- a/ext/js/script/dynamic-loader.js +++ b/ext/js/script/dynamic-loader.js @@ -64,7 +64,7 @@ export const dynamicLoader = (() => { * @returns {Promise} * @throws {Error} */ - async function loadStyle(id, type, value, useWebExtensionApi=false, parentNode=null) { + async function loadStyle(id, type, value, useWebExtensionApi = false, parentNode = null) { if (useWebExtensionApi && yomitan.isExtensionUrl(window.location.href)) { // Permissions error will occur if trying to use the WebExtension API to inject into an extension page useWebExtensionApi = false; -- cgit v1.2.3