summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index b7ed0164..018e23b4 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -83,6 +83,12 @@
},
"overrides": [
{
+ "files": ["ext/mixed/js/core.js"],
+ "env": {
+ "webextensions": false
+ }
+ },
+ {
"files": ["ext/**/*.js"],
"excludedFiles": ["ext/mixed/js/core.js"],
"globals": {
@@ -101,8 +107,7 @@
"deferPromise": "readonly",
"clone": "readonly",
"EventDispatcher": "readonly",
- "EventListenerCollection": "readonly",
- "EXTENSION_IS_BROWSER_EDGE": "readonly"
+ "EventListenerCollection": "readonly"
}
},
{
@@ -116,7 +121,7 @@
}
},
{
- "files": ["ext/mixed/js/core.js"],
+ "files": ["ext/mixed/js/yomichan.js"],
"globals": {
"chrome": "writable"
}