« 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
path: root/src/static/js/search-worker.js
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 /src/static/js/search-worker.js
parent02c156283f7d333926f9f68da9eeb772b27c7f60 (diff)
client: add eslint-env to search-worker.js
Diffstat (limited to 'src/static/js/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';