From 954c38d80e6ee8a652865d7a680e7eaa9d340f65 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 26 Feb 2025 18:11:56 +0100 Subject: [PATCH] lint compliance --- eslint.config.js | 1 + www/common/store-interface.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index c301f79e6..f4a4a9bb3 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -44,6 +44,7 @@ module.exports = [{ "www/code/mermaid*.js", "www/code/orgmode.js", "testapi.js", + "rollup.config.mjs", "**/src/tweetnacl" ], }, ...compat.extends("eslint:recommended", "plugin:compat/recommended"), { diff --git a/www/common/store-interface.js b/www/common/store-interface.js index 69b7f3d1f..d15187926 100644 --- a/www/common/store-interface.js +++ b/www/common/store-interface.js @@ -67,7 +67,6 @@ const factory = function () { return void resolve({postMsg, msgEv}); } - // eslint-disable-next-line no-constant-condition if (!noWorker && typeof(Worker) !== "undefined") { worker = new Worker('/common/worker.bundle.js?' + urlArgs); worker.onerror = function (e) {