summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-31 14:46:09 -0400
committerGitHub <noreply@github.com>2021-07-31 14:46:09 -0400
commit8c4a50f68c9543c14cfe76abd2f6f42135b0e13d (patch)
tree9c7f252952a37b117f298b9b08a6c07418049c7f /.eslintrc.json
parent992c8bcf75b9477e1652cf2a458418e375903cc0 (diff)
DictionaryImporterThreaded (#1865)
* Create new classes for importing dictionaries from a separate thread * Use threaded importer * Update worker tests
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 15bb96ea..4ec8f0f6 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -223,6 +223,25 @@
},
{
"files": [
+ "ext/js/core.js",
+ "ext/js/data/database.js",
+ "ext/js/data/json-schema.js",
+ "ext/js/general/cache-map.js",
+ "ext/js/language/dictionary-database.js",
+ "ext/js/language/dictionary-importer.js",
+ "ext/js/language/dictionary-importer-worker.js",
+ "ext/js/language/dictionary-importer-worker-media-loader.js",
+ "ext/js/media/media-util.js"
+ ],
+ "env": {
+ "browser": false,
+ "worker": true,
+ "es2017": true,
+ "webextensions": true
+ }
+ },
+ {
+ "files": [
"ext/js/**/*.js"
],
"excludedFiles": [