« get me outta code hell

client: add eslint-env to search-worker.js - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-15 18:47:06 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:54 -0300
commit5d1151d352a092bd27c982ffde3ce2dfd093ddbb (patch)
tree4a18dbb0d2889a8c110c8350a38e30aa90d9c4ea
parent02c156283f7d333926f9f68da9eeb772b27c7f60 (diff)
client: add eslint-env to search-worker.js
-rw-r--r--src/static/js/search-worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js
index 8909b640..c2bdcaee 100644
--- a/src/static/js/search-worker.js
+++ b/src/static/js/search-worker.js
@@ -1,3 +1,5 @@
+/* eslint-env worker */
+
 import FlexSearch from '../lib/flexsearch/flexsearch.bundle.module.min.js';
 
 import {makeSearchIndex, searchSpec} from '../shared-util/search-spec.js';