aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-14 18:20:35 -0500
committerGitHub <noreply@github.com>2021-02-14 18:20:35 -0500
commitd97c84f8ac1ac3dc6e058057aa7a4ad5c54930ac (patch)
treeb8b8dec481f7b45eb45d3356f02e97872bdee61a
parent48b59375eb50a3c11ab1cbee659164e6991827ac (diff)
Update lint definitions for sandboxed files (#1395)
-rw-r--r--.eslintrc.json14
1 files changed, 9 insertions, 5 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 369d26ab..e17c63df 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -84,8 +84,9 @@
{
"files": [
"ext/js/core.js",
- "ext/js/templates/template-renderer.js",
- "ext/js/language/dictionary-data-util.js"
+ "ext/js/data/anki-note-data.js",
+ "ext/js/language/dictionary-data-util.js",
+ "ext/js/templates/template-renderer.js"
],
"env": {
"webextensions": false
@@ -95,9 +96,9 @@
"files": ["ext/**/*.js"],
"excludedFiles": [
"ext/js/core.js",
- "ext/js/templates/template-renderer.js",
"ext/js/data/anki-note-data.js",
- "ext/js/language/dictionary-data-util.js"
+ "ext/js/language/dictionary-data-util.js",
+ "ext/js/templates/template-renderer.js"
],
"globals": {
"serializeError": "readonly",
@@ -123,7 +124,10 @@
"files": ["ext/**/*.js"],
"excludedFiles": [
"ext/js/core.js",
- "ext/js/yomichan.js"
+ "ext/js/yomichan.js",
+ "ext/js/data/anki-note-data.js",
+ "ext/js/language/dictionary-data-util.js",
+ "ext/js/templates/template-renderer.js"
],
"globals": {
"yomichan": "readonly"