aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-06-28 11:26:43 -0400
committerGitHub <noreply@github.com>2020-06-28 11:26:43 -0400
commit5bf805755a33f6f10fd9621f8a2bff7ba1cb7440 (patch)
tree836df16ec300e46af16c178f0aebca20802bde7c /.eslintrc.json
parent51981f0c4e11548e138f8b4e57ffd8b96bdee4fe (diff)
Yomichan object separation (#627)
* Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 68b840f8..b8b7bee8 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -86,7 +86,6 @@
"files": ["ext/**/*.js"],
"excludedFiles": ["ext/mixed/js/core.js"],
"globals": {
- "yomichan": "readonly",
"errorToJson": "readonly",
"jsonToError": "readonly",
"isObject": "readonly",
@@ -106,6 +105,16 @@
}
},
{
+ "files": ["ext/**/*.js"],
+ "excludedFiles": [
+ "ext/mixed/js/core.js",
+ "ext/mixed/js/yomichan.js"
+ ],
+ "globals": {
+ "yomichan": "readonly"
+ }
+ },
+ {
"files": ["ext/mixed/js/core.js"],
"globals": {
"chrome": "writable"