aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-17 17:10:25 -0400
committerGitHub <noreply@github.com>2021-07-17 17:10:25 -0400
commitfafa746a632b1907d9cca262f689d7bec4e0f940 (patch)
treef328ef581376cbda0b9d99bd9c3f7892de50a3c1 /.eslintrc.json
parent74381302c7a658dc3fd5e6c3a76842dd430341bb (diff)
Sandbox script folders (#1837)
* Move scripts * Update paths * Fix ordering * Simplify eslint rules
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json28
1 files changed, 5 insertions, 23 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index ad06ff05..3ad61648 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -110,13 +110,7 @@
{
"files": [
"ext/js/core.js",
- "ext/js/data/anki-note-data-creator.js",
- "ext/js/display/pronunciation-generator.js",
- "ext/js/display/structured-content-generator.js",
- "ext/js/dom/css-style-applier.js",
- "ext/js/language/dictionary-data-util.js",
- "ext/js/templates/template-renderer.js",
- "ext/js/templates/template-renderer-media-provider.js"
+ "ext/js/**/sandbox/**/*.js"
],
"env": {
"webextensions": false
@@ -126,13 +120,7 @@
"files": ["ext/**/*.js"],
"excludedFiles": [
"ext/js/core.js",
- "ext/js/data/anki-note-data-creator.js",
- "ext/js/display/pronunciation-generator.js",
- "ext/js/display/structured-content-generator.js",
- "ext/js/dom/css-style-applier.js",
- "ext/js/language/dictionary-data-util.js",
- "ext/js/templates/template-renderer.js",
- "ext/js/templates/template-renderer-media-provider.js"
+ "ext/js/**/sandbox/**/*.js"
],
"globals": {
"serializeError": "readonly",
@@ -159,13 +147,7 @@
"excludedFiles": [
"ext/js/core.js",
"ext/js/yomichan.js",
- "ext/js/data/anki-note-data-creator.js",
- "ext/js/display/pronunciation-generator.js",
- "ext/js/display/structured-content-generator.js",
- "ext/js/dom/css-style-applier.js",
- "ext/js/language/dictionary-data-util.js",
- "ext/js/templates/template-renderer.js",
- "ext/js/templates/template-renderer-media-provider.js"
+ "ext/js/**/sandbox/**/*.js"
],
"globals": {
"yomichan": "readonly"
@@ -217,9 +199,9 @@
"ext/js/general/regex-util.js",
"ext/js/general/text-source-map.js",
"ext/js/language/deinflector.js",
- "ext/js/language/dictionary-data-util.js",
"ext/js/language/dictionary-database.js",
- "ext/js/language/japanese-util.js",
+ "ext/js/language/sandbox/dictionary-data-util.js",
+ "ext/js/language/sandbox/japanese-util.js",
"ext/js/language/translator.js",
"ext/js/media/audio-downloader.js",
"ext/js/media/media-util.js",