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) {